diff --git a/.gitignore b/.gitignore index d94241c..9f0b3b3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +common/local_settings.py db.sqlite3 __pycache__ diff --git a/common/settings.py b/common/settings.py index 3c70b04..9ebc0a2 100644 --- a/common/settings.py +++ b/common/settings.py @@ -111,3 +111,5 @@ STATIC_URL = "static/" # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field #DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + +from .local_settings import * diff --git a/common/wsgi.py b/common/wsgi.py index 572e28a..c76dfe5 100644 --- a/common/wsgi.py +++ b/common/wsgi.py @@ -1,16 +1,10 @@ """ WSGI config for beesgospel 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/5.2/howto/deployment/wsgi/ """ - import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'beesgospel.settings') +os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'common.settings') application = get_wsgi_application()