File: urls.py

package info (click to toggle)
django-oauth-toolkit 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,156 kB
  • sloc: python: 11,100; makefile: 159; javascript: 9; sh: 6
file content (13 lines) | stat: -rw-r--r-- 238 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.contrib import admin
from django.urls import include, path

from oauth2_provider import urls as oauth2_urls


admin.autodiscover()


urlpatterns = [
    path("o/", include(oauth2_urls)),
    path("admin/", admin.site.urls),
]