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

django.conf.urls.url() is removed in Django 4.0+ #13

Open
jasondolorso opened this issue Feb 12, 2023 · 0 comments
Open

django.conf.urls.url() is removed in Django 4.0+ #13

jasondolorso opened this issue Feb 12, 2023 · 0 comments

Comments

@jasondolorso
Copy link

FYI, django.conf.urls.url() was deprecated in Django 3.0, and is removed in Django 4.0+.

in the urls.py:

  • remove: from django.conf.urls import url
  • in urlpatterns, use path() instead of url()
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

No branches or pull requests

1 participant