-
Notifications
You must be signed in to change notification settings - Fork 575
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
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.
Much better, thanks 🎉 Do you think we could upgrade to the latest or does it require a lot more work?
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)) |
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.
Could we please simplify all the URLs routes to use path
instead of re_path
? That should make them more readable.
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.
I think it is OK for this PR
@@ -1 +1 @@ | |||
python-3.6.3 | |||
python-3.10.17 |
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.
Anything preventing us from upgrading to a later version (3.13)?
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.
might be heroku specific, not sure though. but let this in and upgrade in another PR later?
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.
Yes it is. They actually deprecated that and are moving to a more standard format: cookiecutter/cookiecutter-django#5652
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)) |
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.
I think it is OK for this PR
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.
Fine
Fix #79 #86
and other something upgrade ...