diff --git a/__init__.py-tpl b/__init__.py-tpl new file mode 100644 index 0000000..e69de29 diff --git a/admin.py-tpl b/admin.py-tpl new file mode 100644 index 0000000..8c38f3f --- /dev/null +++ b/admin.py-tpl @@ -0,0 +1,3 @@ +from django.contrib import admin + +# Register your models here. diff --git a/apps.py-tpl b/apps.py-tpl new file mode 100644 index 0000000..1f5ce78 --- /dev/null +++ b/apps.py-tpl @@ -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 }}' diff --git a/migrations/__init__.py-tpl b/migrations/__init__.py-tpl new file mode 100644 index 0000000..e69de29 diff --git a/models.py-tpl b/models.py-tpl new file mode 100644 index 0000000..71a8362 --- /dev/null +++ b/models.py-tpl @@ -0,0 +1,3 @@ +from django.db import models + +# Create your models here. diff --git a/tests.py-tpl b/tests.py-tpl new file mode 100644 index 0000000..7ce503c --- /dev/null +++ b/tests.py-tpl @@ -0,0 +1,3 @@ +from django.test import TestCase + +# Create your tests here. diff --git a/views.py-tpl b/views.py-tpl new file mode 100644 index 0000000..91ea44a --- /dev/null +++ b/views.py-tpl @@ -0,0 +1,3 @@ +from django.shortcuts import render + +# Create your views here.