File: urls.py

package info (click to toggle)
python-django-pgschemas 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 848 kB
  • sloc: python: 3,887; makefile: 33; sh: 10; sql: 2
file content (13 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
from django.contrib import admin
from django.contrib.auth.decorators import login_required
from django.urls import path

from sandbox.views import generic

urlpatterns = [
    path("", generic, name="tenant-home"),
    path("profile/", generic, name="profile"),
    path("profile/advanced/", login_required(generic), name="advanced-profile"),
    path("login/", generic, name="login"),
    path("admin/", admin.site.urls),
]