Skip to content

Commit

Permalink
Merge pull request #1 from aclark4life/main
Browse files Browse the repository at this point in the history
Add templates
  • Loading branch information
aclark4life authored Oct 23, 2024
2 parents 210795d + 8d7a37e commit 2c56075
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 0 deletions.
Empty file added __init__.py-tpl
Empty file.
3 changes: 3 additions & 0 deletions admin.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions apps.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class {{ camel_case_app_name }}Config(AppConfig):
default_auto_field = 'django_mongodb.fields.ObjectIdAutoField'
name = '{{ app_name }}'
Empty file added migrations/__init__.py-tpl
Empty file.
3 changes: 3 additions & 0 deletions models.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
3 changes: 3 additions & 0 deletions tests.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.test import TestCase

# Create your tests here.
3 changes: 3 additions & 0 deletions views.py-tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.

0 comments on commit 2c56075

Please sign in to comment.