We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b0aef2 + 1b2d73d commit 7142929Copy full SHA for 7142929
tests/urls.py
@@ -1,13 +1,13 @@
1
-from django.conf.urls import include, url
2
from django.contrib import admin
+from django.urls import include, path
3
4
5
admin.autodiscover()
6
7
8
urlpatterns = [
9
- url(r"^o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
+ path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
10
]
11
12
13
-urlpatterns += [url(r"^admin/", admin.site.urls)]
+urlpatterns += [path("admin/", admin.site.urls)]
0 commit comments