Przeglądaj źródła

Adding init and apps file to project template (#74)

Vince Salvino 6 lat temu
rodzic
commit
9b62b08e2a

+ 0 - 16
coderedcms/project_template/project_name/wsgi.prod.py

@@ -1,16 +0,0 @@
-"""
-WSGI config for {{ project_name }} project.
-
-It exposes the WSGI callable as a module-level variable named ``application``.
-
-For more information on this file, see
-https://docs.djangoproject.com/en/{{ docs_version }}/howto/deployment/wsgi/
-"""
-
-import os
-
-from django.core.wsgi import get_wsgi_application
-
-os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings.prod")
-
-application = get_wsgi_application()

+ 0 - 0
coderedcms/project_template/website/__init__.py


+ 5 - 0
coderedcms/project_template/website/apps.py

@@ -0,0 +1,5 @@
+from django.apps import AppConfig
+
+
+class WebsiteConfig(AppConfig):
+    name = 'website'