Restructure project because django (#1)

aka I'm an idiot.
This commit is contained in:
zeitschlag 2023-05-18 18:58:06 +02:00
parent f08c53c69b
commit 476a986c1a
12 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
from django.apps import AppConfig
class VentilatorConfig(AppConfig):
class FanConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'ventilator'
name = 'fan'

View File

@ -20,7 +20,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure-k!rlb6%o#27kbzu*(%8)7(akcvz86-og+ep^p2e(e*6ffd21cj'
SECRET_KEY = 'django-insecure-&ysb7-2iiu9s$s!6x175z3-8eo*)3ct1trif#zn!$cr1se+yup'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
"fan",
]
MIDDLEWARE = [