initialize project documentation and setup instructions
This commit is contained in:
13
apps/core/urls.py
Normal file
13
apps/core/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.urls import path
|
||||
from django.shortcuts import redirect
|
||||
from . import views
|
||||
|
||||
handler404 = views.Template404View.as_view()
|
||||
|
||||
urlpatterns = [
|
||||
path('403/', views.Template403View.as_view(), name='403_view'),
|
||||
path('logout/', views.LogoutView.as_view(), name='logout'),
|
||||
path('', lambda request: redirect('dashboard')),
|
||||
path('dashboard/', views.DashboardView.as_view(), name='dashboard'),
|
||||
path('form/', views.FormView.as_view(), name='form'),
|
||||
]
|
||||
Reference in New Issue
Block a user