Commit graph

13 commits

Author SHA1 Message Date
c1b2375abd
Note to-dos 2024-03-22 12:18:03 +11:00
1cfe805689
Handle trailing slashes in static content 2024-03-20 15:45:46 +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
2bf73e35fa
Upgrade to Django 4.2 LTS 2024-03-19 22:14:20 +11:00
0ad369ebb9
Tidy-ups 2024-03-18 17:59:56 +11:00
75e3ab4d35
podjango: Fix linting warnings 2024-02-23 15:02:04 +11:00
aef9d18eb4
Add docs to enable conservancy-www-db.path 2023-11-25 13:41:55 +11:00
03e06738a0
Add conservancy-www-db.service to repository, document Systemd services 2023-11-24 10:01:34 +11:00
cfd495c246
Add to-do item for decoupling conservancy-www-db service from apache 2023-11-24 09:35:33 +11:00
fc21070d8d
Note to-do item to improve sustainer page interactivity 2023-11-22 14:00:09 +11:00
d0e218cdb6
Update to-dos 2023-10-26 13:24:17 +11:00
8ef3aa73b0
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