Skip to content

Commit

Permalink
oauth I dont have time for you now p2
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 26, 2023
1 parent 5ce2326 commit 320b279
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions metropolis/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@
path('token', TokenView.as_view(), name="token"),
path('revoke-token', RevokeTokenView.as_view(), name="revoke-token"),
]

urlpatterns = [
path('', include((oauth2_endpoint_views, 'oauth2_provider'), namespace="oauth2_provider")),
path("", include("core.urls")),
path('o/', include((oauth2_endpoint_views, 'oauth2_provider'), namespace="oauth2_provider")),
path("", include("oauth2_provider.urls", "oauth2_provider"), namespace="oauth2_provider"),
path("admin/", admin.site.urls),
path("accounts/", include("allauth.urls")),
path("martor/", include("martor.urls")),
Expand All @@ -34,5 +36,4 @@
path("/<path:url>", include("django.contrib.flatpages.urls")),
]


urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

0 comments on commit 320b279

Please sign in to comment.