Commit graph

8 commits

Author SHA1 Message Date
546f78bc91 Fix trailing whitespace and missing end-of-file newline 2024-07-22 18:39:05 +10:00
d50a67a168 Fix flake8 warnings 2024-07-22 18:39:00 +10:00
3c80654914 Use decorator syntax to register admin handlers
Same-same, just marginally neater.
2024-03-21 09:35:00 +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
d03167ccd9 Convert remaining url routes to path/re_path 2024-03-18 18:38:30 +11:00
7626344cc3 Remove reference to old jQuery
This was 404ing anyway.
2024-02-27 09:22:08 +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