website/TODO.md
Ben Sturmfels 783cdc6189
Eliminate base_standard.html template and internalNavigate blocks
The base_standard.html template was an unnecessary level of template
inheritance.

Also removed unused `min` and `subtract` template tags.
2024-05-13 17:11:01 +10:00

1.2 KiB

To-do

  • ensure appropriate caching headers are used
  • consider removing events and worldmap modules
  • ask Denver about why so many license files
  • serve a 400 in Apache for a hostname we don't explicitly support

Done

  • remove internalNavigate
  • add tests for main pages returning 200
  • move SITE_FUNDGOAL configuration to settings.py
  • move sponsors.py and sponsors.html into supporters app
  • use <detail> elements for supporter page hidden sections, rather than complex jQuery
  • remove jQuery
  • split the template/content files out from conservancy/static into their own content directory (avoid mixing static and non-static content)
  • remove ForceCanonicalHostnameMiddleware by ensuring canonical redirect and HTTPS redirect is done by Apache
  • standardise settings to replace settings.py and djangocommonsettings.py with settings/prod.py and move SECRET_KEY to an environment variable
  • migrate to Django 4.2 LTS
  • review apache2 directory - may be unused
  • add deployment script that runs migrations and collects static files
  • switch ParameterValidator to use SECRET_KEY if possible to minimize non-standard settings
  • install staticfiles app