File: urls.py

package info (click to toggle)
python-djangosaml2 1.11.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 700 kB
  • sloc: python: 3,066; xml: 327; makefile: 18; sh: 9
file content (15 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from django.http import HttpResponse
from django.urls import include, path

from django.contrib import admin

testpatterns = (
    [path("dashboard/", lambda request: HttpResponse(""), name="dashboard")],
    "testprofiles",  # app_name
)

urlpatterns = [
    path("saml2/", include("djangosaml2.urls")),
    path("admin/", admin.site.urls),
    path("", include(testpatterns)),
]