Commit graph

11 commits

Author SHA1 Message Date
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
53d6851509 Upgrade to Django 4.2 LTS 2024-03-19 22:14:20 +11:00
71fdab5c6e Tidy-ups 2024-03-18 17:59:56 +11:00
db92f576fb podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
39e0e069a3 Add docs to enable conservancy-www-db.path 2023-11-25 13:41:55 +11:00
5c182362ff Add conservancy-www-db.service to repository, document Systemd services 2023-11-24 10:01:34 +11:00
3000a117a0 Add to-do item for decoupling conservancy-www-db service from apache 2023-11-24 09:35:33 +11:00
dba99b0ee2 Note to-do item to improve sustainer page interactivity 2023-11-22 14:00:09 +11:00
744c47334c Update to-dos 2023-10-26 13:24:17 +11:00
f7d529b5a7 Add to-do file
This allows me to track improvements we'd like to make, but not necessarily
straight away.
2023-10-26 12:33:29 +11:00