Changeset - 2bf73e35fa61
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-03-19 11:14:20
ben@sturm.com.au
Upgrade to Django 4.2 LTS
2 files changed with 4 insertions and 3 deletions:
0 comments (0 inline, 0 general)
TODO.md
Show inline comments
 
# To-do
 

	
 
* remove `ForceCanonicalHostnameMiddleware` by ensuring canonical redirect and HTTPS redirect is done by Apache
 
* serve a 400 in Apache for a hostname we don't explicitly support
 
* use `<detail>` elements for supporter page hidden sections, rather than complex jQuery - or consider Alpine.js
 
* replace `internalNavigate` with inline flexbox layout
 
* migrate to Django 4.2
 
* add tests for main pages returning 200
 
* standardise settings to replace `settings.py` and `djangocommonsettings.py`
 
  with `settings/prod.py` and move `SECRET_KEY` to an environment variable
 

	
 

	
 
# Done
 

	
 
* 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
requirements.txt
Show inline comments
 
# These are the version provided by Debian Bookworm.
 
Django==3.2.19
 
# Installed in virtualenv
 
Django==4.2.11
 
# Provided by Debian Bookworm.
 
beautifulsoup4==4.11.2
 
html5lib==1.1
 
django-countries==7.3.2
0 comments (0 inline, 0 general)