Skip to content

Commit

Permalink
Add templates
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Oct 23, 2024
1 parent 210795d commit 8d7a37e
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 8d7a37e

Please sign in to comment.