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

chore: Upgrade to Django 3.0 #5601

Merged
merged 22 commits into from
May 11, 2023

Conversation

jennifer-richards
Copy link
Member

Upgrades Django from 2.2 to 3.0, fixes all failing tests on my dev machine, and eliminates deprecation warnings.

Try again with Django 3.2
Patch no longer applies. Needed until Django 4.2.1, so bring it back
if we deploy something earlier than that to production.
Relying on Meta.ordering to order querysets involving GROUP BY queries
is deprecated and will be dropped in Django 3.1.
Not sure why, but if I change the DeprecationWarning filter to
"error", I get a SyntaxError from the \[ because it is an invalid
escape sequence. Not sure why that change triggers it, but
"\[" and "\\[" are the same, so this is a no-op.
@jennifer-richards jennifer-richards changed the title Upgrade to Django 3.0 chore: Upgrade to Django 3.0 May 10, 2023
@jennifer-richards jennifer-richards merged commit 264ff60 into ietf-tools:feat/django4 May 11, 2023
@jennifer-richards jennifer-richards deleted the django4 branch May 11, 2023 15:05
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants