Setup local settings
This commit is contained in:
parent
a961619d08
commit
58131bd4ad
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
common/local_settings.py
|
||||
db.sqlite3
|
||||
__pycache__
|
||||
|
|
|
@ -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 *
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue