From 8d7a37efc9f04f7c0b8cfc7e403510b2fdd71305 Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Fri, 4 Oct 2024 08:55:56 -0400 Subject: [PATCH] Add templates --- __init__.py-tpl | 0 admin.py-tpl | 3 +++ apps.py-tpl | 6 ++++++ migrations/__init__.py-tpl | 0 models.py-tpl | 3 +++ tests.py-tpl | 3 +++ views.py-tpl | 3 +++ 7 files changed, 18 insertions(+) create mode 100644 __init__.py-tpl create mode 100644 admin.py-tpl create mode 100644 apps.py-tpl create mode 100644 migrations/__init__.py-tpl create mode 100644 models.py-tpl create mode 100644 tests.py-tpl create mode 100644 views.py-tpl 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.