Skip to content

Commit

Permalink
oauth I dont have time for you now.
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 26, 2023
1 parent ae16756 commit 5ce2326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metropolis/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@
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("admin/", admin.site.urls),
path("accounts/", include("allauth.urls")),
path("martor/", include("martor.urls")),
Expand All @@ -35,4 +34,5 @@
path("/<path:url>", include("django.contrib.flatpages.urls")),
]


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

0 comments on commit 5ce2326

Please sign in to comment.