-
-
Notifications
You must be signed in to change notification settings - Fork 965
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
Update Django to 5.1 #1633
Comments
It looks like there is a blocking backward incompatible change:
https://docs.djangoproject.com/en/5.1/releases/5.1/#features-removed-in-5-1
I have two questions:
|
Great questions! 🎸
Django will automatically upgrade the hashing algorithm of your password when you log in (using a different hashing algorithm requires access to the password in clear so it can't be done in a migration for example). That means that accounts that have no logged in in a long time are still using old hashers. This is not caused by an old version of Django, this is because the website has been around for a long time.
I took a look inside the database, and out of the ~50 000 active users that are in the table, there are ~8 000 still using the Given those numbers, I'm OK getting rid of the custom SHA1 hasher. I would just like to confirm that any user still using that hasher would be able to use the password reset feature (having a test for that would be ideal). I hope that helps! |
At the moment we are using Django 4.2 but Django 5.1 to be able to use all the latest features and bugfixes.
In particular can be useful to start using
GeneratedField
to improve how page are shown in the documentation form themetadata
JSONfield.We have to wait for the resolution of #1574
The text was updated successfully, but these errors were encountered: