-
Notifications
You must be signed in to change notification settings - Fork 0
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 5.0 #21
Comments
Note that Django v5 is not an LTS version and so will stop getting support a whole year before the current LTS version does - generally we prefer to stick with LTS versions though if there's a way we can ensure we're compatible with v5.x that would be smart |
Forgive me if I am explaining something you already know, but Django has a slightly odd but I think quite good approach to versioning. The deprecation policy in particular is relevant here. It effectively boils down to:
So if we are able to run a site with X.2 and no warnings then it is also Y.0 compatible. The approach they take is intended to allows easy migration from one version to another. Giving plenty of time and support with ensuring your code base is ready for the next release. Guiding your hand somewhat. Sticking with LTS releases only will, I think, make the ongoing maintenance harder because each upgrade is a major jump with none of the intermediate shims and warnings to give you a helping hand. That said, I think it is still worth discussing the trade-offs between the 2 approaches at little further |
Inversely, using non-LTS versions means we need to upgrade sooner to ensure we can remain secure. I think lets take this discussion into Slack for a bit since it's related to some wider internal processes. |
🎯Aim
Ensure that the template project is upgraded to work with Django 5.0
📕Context
Django 5.0 was release on the 4th December and we should ensure that the template project is compatible.
This may involve upgrading other libraries along the way. It is possible that the may not all be compatible yet. In this instance we would want to wait before updating to Django 5.0. So I recognise this issue may be open for a while.
We should also run
startproject
with Django 5.0 independently of this repository in order to compare the files it process (likesettings.py
,wsgi.py
,manage.py
etc.) to accommodate any major changes in approach.📝Relevant resources/doc's/people
✅Acceptance Criteria
The text was updated successfully, but these errors were encountered: