Commit graph

9 commits

Author SHA1 Message Date
3826b6fb66
Switch settings to use "the one true way" approach
The advantage of this approach is that the production and dev configurations are
in version control, so there's less opportunity for surprises.

As advocated by Jacob Kaplan-Moss (OSCON 2011) and Two Scoops of Django book.
2024-03-20 14:10:00 +11:00
4a2ed6714a
Move ALLOWED_HOSTS into local settings (djangocommonsettings.py) 2024-02-06 21:59:31 +11:00
e246c530c4
Remove commented out XViewMiddleware 2024-02-06 21:58:36 +11:00
cdb31327ec
Remove DEBUG = False as it's the default 2024-02-06 21:52:59 +11:00
Denver Gingerich
13bca4c509 usethesource: use production mailing list now 2024-02-02 20:44:17 -08:00
c287dac433
usethesource: Make email addresses configurable 2024-01-31 12:28:45 +11:00
5686e54386
Provide a default for DEBUG
This avoid having to specify it in the production environment config at all -
shorter config.
2023-10-26 13:19:11 +11:00
70b8aa07ae
Simplify settings and move some standard settings into settings.py
These were previously in djangocommonsettings.py, but don't ever vary between
development and production environments.
2023-10-26 12:28:29 +11:00
ce6be591bd
Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
Renamed from www/settings.py (Browse further)