Commit graph

8 commits

Author SHA1 Message Date
54a3e02d2f Move media to top-level directory 2024-04-26 16:26:51 +10:00
3485926915 podjango: Configure uploaded media directory 2024-04-26 16:13:00 +10:00
ff689d35ef contacts: Remove ContactEntry and add Unsubscription
This change removes the unused `ContactEntry` model and the `subscribe` view and
replaces it with an `Unsubscription` model and an `unsubscribe` view. It works
similarly, but is intended to be used with the `list-unsubscribe` and
`list-unsubscribe-post` headers.
2024-04-09 22:53:24 +10:00
106a2f7382 Remove summit_registration Django app
Has some typos suggesting that the code was never completed or used.
2024-03-22 11:19:05 +11:00
c52b91e183 Move the content templates/files into conservancy/content
These were previously intermingled with the static content in `conservancy/static`.
2024-03-22 09:34:20 +11:00
f353f53ee1 Set USE_TZ = False to avoid default changing in Django 5 2024-03-21 09:53:19 +11:00
99a2271f09 Delegate management of canonical URLs to Apache
This middleware is mostly redundant:

 * redirecting to canonical URLs can be done more simply in Apache
 * appending a forward slash is a default in CommonMiddleware now
 * we're no longer using Squid cache

May need to update Apache to strip/redirect trailing "index.html".
2024-03-20 14:54:54 +11:00
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
Renamed from conservancy/settings.py (Browse further)