Skip to content

Replace deprecated urls function with re_path#7

Open
cemathey wants to merge 1 commit intoASKBOT:masterfrom
cemathey:patch-1
Open

Replace deprecated urls function with re_path#7
cemathey wants to merge 1 commit intoASKBOT:masterfrom
cemathey:patch-1

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