Repository navigation
chore(deps): update dependency django to v5 [security] #1516
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
base: v1
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| django==4.2.10 | ||
| django==5.2.17 | ||
| requests==2.31.0 | ||
| debugpy # Required for debugging. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| Django==4.2.9 | ||
| Django==5.2.17 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrading to Django 5.x makes the Additionally, Django 3.2+ (including 5.x) expects |
||
| psycopg2-binary==2.9.9 | ||
| python-dateutil==2.8.2 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Django==4.2.10 | ||
| Django==5.2.17 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Upgrading to Django 5.x makes the Additionally, Django 3.2+ (including 5.x) expects |
||
| requests==2.31.0 | ||
| psycopg2-binary==2.9.9 | ||
| debugpy # Required for debugging | ||
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.
Upgrading to Django 5.x makes the
USE_L10Nsetting obsolete, as it was completely removed in Django 5.0. Thesettings.pyfile for this project currently definesUSE_L10N = True(line 73 ofpython/cloud-run-django-hello-world/helloproject/settings.py). Remove this setting fromsettings.pyto align with Django 5.x standards and avoid configuration warnings/errors.Additionally, Django 3.2+ (including 5.x) expects
DEFAULT_AUTO_FIELDto be explicitly configured insettings.pyto avoid warnings. AddDEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'tosettings.pyto define the default primary key field type for models.