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

Replace deprecated urls function with re_path #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cemathey
Copy link

@cemathey cemathey commented Aug 2, 2023

The url function has been deprecated in Django since 3.0 and is entirely removed in 4.0

url was an alias to django.urls.re_path anyway and has existed in Django since 2.0 and the last supported 2.x version (2.2) ended in April 2022.

This should allow this package to work with all supported versions of Django, and all unsupported versions >= 2.0.

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.

1 participant