Commit graph

8 commits

Author SHA1 Message Date
968c0c4fba
Move media to top-level directory 2024-04-26 16:26:51 +10:00
d2561fbc41
podjango: Configure uploaded media directory 2024-04-26 16:13:00 +10:00
789d0c8c84
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
b7dcfa4a9b
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
fe64a26a72
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
c962a1d100
Set USE_TZ = False to avoid default changing in Django 5 2024-03-21 09:53:19 +11:00
5fa226284b
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
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
Renamed from conservancy/settings.py (Browse further)