Skip to content

Update to Django 4.2.21 and DRF 3.16.0 #90

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

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

paradox-lab2
Copy link
Contributor

Fix #79 #86

and other something upgrade ...

Copy link
Member

@browniebroke browniebroke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better, thanks 🎉 Do you think we could upgrade to the latest or does it require a lot more work?

Comment on lines +10 to +13
re_path(r'^', include('snippets.urls')),
re_path(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
re_path(r'^schema/$', schema_view),
re_path(r'^docs/', include_docs_urls(title=API_TITLE, description=API_DESCRIPTION))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we please simplify all the URLs routes to use path instead of re_path? That should make them more readable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is OK for this PR

@@ -1 +1 @@
python-3.6.3
python-3.10.17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything preventing us from upgrading to a later version (3.13)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be heroku specific, not sure though. but let this in and upgrade in another PR later?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it is. They actually deprecated that and are moving to a more standard format: cookiecutter/cookiecutter-django#5652

Comment on lines +10 to +13
re_path(r'^', include('snippets.urls')),
re_path(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
re_path(r'^schema/$', schema_view),
re_path(r'^docs/', include_docs_urls(title=API_TITLE, description=API_DESCRIPTION))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is OK for this PR

Copy link
Member

@browniebroke browniebroke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine

@auvipy auvipy merged commit fa36059 into encode:master May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace instances of 'url' function with 're_path'
3 participants