We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
url is deprecated since django 3.1
url
https://docs.djangoproject.com/en/3.2/ref/urls/#url
The text was updated successfully, but these errors were encountered:
This was the error I found too while doing the sixth tutorial. I fix it by replace the url into re_path.
sixth tutorial
re_path
the import: https://github.com/ryumada/python-djangorestframework-tutorial/blob/220c7f3a4cb0bc3c553b50e3409bdc2f5bfb358f/snippets/urls.py#L1
using re_path instead: https://github.com/ryumada/python-djangorestframework-tutorial/blob/220c7f3a4cb0bc3c553b50e3409bdc2f5bfb358f/snippets/urls.py#L13-L15
Here is the discussion I've found: https://stackoverflow.com/questions/70319606/importerror-cannot-import-name-url-from-django-conf-urls-after-upgrading-to
Sorry, something went wrong.
contributions are welcome
No branches or pull requests
url
is deprecated since django 3.1https://docs.djangoproject.com/en/3.2/ref/urls/#url
The text was updated successfully, but these errors were encountered: