-
Notifications
You must be signed in to change notification settings - Fork 44
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 Django to 4.2 #667
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you still need to make new migrations? And could you please add Python 3.11 to the CI workflow?
0d57f21
to
c3ba033
Compare
This looks great @Dhwaniartefact, thanks! Let's leave this PR here until we milestone its issue. |
@Dhwaniartefact It seems you still need to clean some comments in the |
Sure let me do it. |
cf15fb6
to
246116d
Compare
246116d
to
2fd80d7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good @Dhwaniartefact, but I left a couple of small requests.
This sets django-upgrade in pre-commit to upgrade Django to 4.2.
A few changes are worth mentioning:
The USE_L10N setting is removed as localized formatting of data will always be enabled. Ref: https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-USE_L10N
STATICFILES_STORAGE: Static files storage engine can be configured with the [STORAGES] setting. Ref: https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-STORAGES
Connected to archivematica/Issues#1624