File: urls.py

package info (click to toggle)
django-stronghold 0.4.0%2Bdebian-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 220 kB
  • sloc: python: 413; makefile: 135
file content (10 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
from django.urls import re_path
from . import views


urlpatterns = [
    re_path(r'^protected/$', views.ProtectedView.as_view(), name="protected_view"),
    re_path(r'^public/$', views.PublicView.as_view(), name="public_view"),
    re_path(r'^public2/$', views.PublicView2.as_view(), name="public_view2"),
    re_path(r'^public3/$', views.public_view3, name="public_view3")
]