Skip to content

Commit 2c56075

Browse files
authored
Merge pull request #1 from aclark4life/main
Add templates
2 parents 210795d + 8d7a37e commit 2c56075

File tree

7 files changed

+18
-0
lines changed

7 files changed

+18
-0
lines changed

__init__.py-tpl

Whitespace-only changes.

admin.py-tpl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.contrib import admin
2+
3+
# Register your models here.

apps.py-tpl

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from django.apps import AppConfig
2+
3+
4+
class {{ camel_case_app_name }}Config(AppConfig):
5+
default_auto_field = 'django_mongodb.fields.ObjectIdAutoField'
6+
name = '{{ app_name }}'

migrations/__init__.py-tpl

Whitespace-only changes.

models.py-tpl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.db import models
2+
3+
# Create your models here.

tests.py-tpl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.test import TestCase
2+
3+
# Create your tests here.

views.py-tpl

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from django.shortcuts import render
2+
3+
# Create your views here.

0 commit comments

Comments
 (0)