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

Update references to re_path #427

Open
jacobtylerwalls opened this issue Jun 6, 2024 · 0 comments
Open

Update references to re_path #427

jacobtylerwalls opened this issue Jun 6, 2024 · 0 comments

Comments

@jacobtylerwalls
Copy link
Member

describe the issue

Throughout the docs we model URL configuration with, in many cases,re_path(). But that was a backwards compatibility shim added many versions of Django ago. We should model using path() instead of re_path().

From DEP 201:

Hopefully many projects will migrate to django.urls.path (the carrot) before being forced to migrate to django.urls.re_path (the stick).

please add links to existing docs or code (if relevant)
which release does this issue concern?
@jacobtylerwalls jacobtylerwalls changed the title Remove references to re_path Update references to re_path Jun 6, 2024
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