Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Django 4.2 #1744

Open
1 of 19 tasks
Bomme opened this issue Dec 31, 2023 · 0 comments
Open
1 of 19 tasks

Upgrade to Django 4.2 #1744

Bomme opened this issue Dec 31, 2023 · 0 comments

Comments

@Bomme
Copy link
Contributor

Bomme commented Dec 31, 2023

We should upgrade to the next LTS version of Django (4.2) since the current (3.2 LTS) will reach EOL April 2024.

Recommended reading https://docs.djangoproject.com/en/4.2/howto/upgrade-version/

If you’re upgrading through more than one feature version (e.g. 2.0 to 2.2), it’s usually easier to upgrade through each feature release incrementally (2.0 to 2.1 to 2.2) rather than to make all the changes for each feature release at once. For each feature release, use the latest patch release (e.g. for 2.1, use 2.1.15).

Steps:

  • Upgrade to > Python 3.8
  • Test for deprecations
  • Check dependencies for compatibility issues
    • django-admin-sortable
    • django-amazon-ses
    • django-cors-headers
    • django-debug-toolbar
    • django-extensions
    • django-modeladmin-reorder
    • django-multiupload
    • django-oauth-toolkit
    • django-recaptcha
    • django-redis
    • django-silk
    • djangorestframework
    • sentry-sdk
  • Upgrade to 4.0
  • Upgrade to 4.1
    • Logging out via GET requests to the built-in logout view is deprecated. Use POST requests instead.
  • Upgrade to 4.2

Potential follow-up steps:

@Bomme Bomme mentioned this issue Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant