Setup local settings

This commit is contained in:
Claude Paroz 2025-07-08 20:49:30 +02:00
parent a961619d08
commit 58131bd4ad
3 changed files with 4 additions and 7 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
common/local_settings.py
db.sqlite3 db.sqlite3
__pycache__ __pycache__

View file

@ -111,3 +111,5 @@ STATIC_URL = "static/"
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
#DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" #DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
from .local_settings import *

View file

@ -1,16 +1,10 @@
""" """
WSGI config for beesgospel project. 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 import os
from django.core.wsgi import get_wsgi_application 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() application = get_wsgi_application()