Add production settings module

Introduce a new `prod.py` settings file for the production environment. This file disables debug mode and sets up a console email backend. It also attempts to import local settings, if available.
main
Arne Schauf 3 weeks ago
parent 70935c497a
commit d84f70214a
  1. 13
      feo_homepage/settings/prod.py

@ -0,0 +1,13 @@
from .base import *
DEBUG = False
TEMPLATE_DEBUG = True
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
try:
from .local import *
except ImportError:
pass
Loading…
Cancel
Save