Upgrade to Django 4.2 LTS

This commit is contained in:
Ben Sturmfels 2024-03-19 22:14:20 +11:00
parent 0b9ab6970c
commit 2bf73e35fa
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,6 @@
* serve a 400 in Apache for a hostname we don't explicitly support * 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 * use `<detail>` elements for supporter page hidden sections, rather than complex jQuery - or consider Alpine.js
* replace `internalNavigate` with inline flexbox layout * replace `internalNavigate` with inline flexbox layout
* migrate to Django 4.2
* add tests for main pages returning 200 * add tests for main pages returning 200
* standardise settings to replace `settings.py` and `djangocommonsettings.py` * standardise settings to replace `settings.py` and `djangocommonsettings.py`
with `settings/prod.py` and move `SECRET_KEY` to an environment variable with `settings/prod.py` and move `SECRET_KEY` to an environment variable
@ -12,6 +11,7 @@
# Done # Done
* migrate to Django 4.2 LTS
* review `apache2` directory - may be unused * review `apache2` directory - may be unused
* add deployment script that runs migrations and collects static files * add deployment script that runs migrations and collects static files
* switch `ParameterValidator` to use `SECRET_KEY` if possible to minimize * switch `ParameterValidator` to use `SECRET_KEY` if possible to minimize

View file

@ -1,5 +1,6 @@
# These are the version provided by Debian Bookworm. # Installed in virtualenv
Django==3.2.19 Django==4.2.11
# Provided by Debian Bookworm.
beautifulsoup4==4.11.2 beautifulsoup4==4.11.2
html5lib==1.1 html5lib==1.1
django-countries==7.3.2 django-countries==7.3.2