Skip to content

Commit 1de079b

Browse files
author
Jaap Roes
committed
Simplify how urlpatterns are loaded
1 parent 924310b commit 1de079b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: tests/urls.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
from django.contrib import admin
22
from django.urls import include, path
33

4+
from oauth2_provider import urls as oauth2_urls
5+
46

57
admin.autodiscover()
68

79

810
urlpatterns = [
9-
path("o/", include("oauth2_provider.urls", namespace="oauth2_provider")),
11+
path("o/", include(oauth2_urls)),
1012
path("admin/", admin.site.urls),
1113
]

0 commit comments

Comments
 (0)