Commit graph

9 commits

Author SHA1 Message Date
a3df1d7094 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
d6713357f5 Move ALLOWED_HOSTS into local settings (djangocommonsettings.py) 2024-02-06 21:59:31 +11:00
239cebbd8a Remove commented out XViewMiddleware 2024-02-06 21:58:36 +11:00
208f067c40 Remove DEBUG = False as it's the default 2024-02-06 21:52:59 +11:00
Denver Gingerich
4df4fd391d usethesource: use production mailing list now 2024-02-02 20:44:17 -08:00
542bb9ea55 usethesource: Make email addresses configurable 2024-01-31 12:28:45 +11:00
39feaa95b9 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
fbbdc69392 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
49ab5aafb4 Rename "www" directory to "conservancy" 2023-10-25 13:01:21 +11:00
Renamed from www/settings.py (Browse further)