JourneyJoker/clients/urls.py
Klaus-Uwe Mitterer 88dbecec35 A few more views
Fixing inquiry processing view
2021-04-13 14:44:22 +02:00

14 lines
No EOL
591 B
Python

from django.urls import path, reverse_lazy
from django.views.generic import RedirectView
from .views import ClientRegistrationView, ClientProfileView, ClientDashboardView, ClientBookingsView
app_name = "clients"
urlpatterns = [
path('dashboard/', ClientDashboardView.as_view(), name="dashboard"),
path('register/', ClientRegistrationView.as_view(), name="register"),
path('profile/', ClientProfileView.as_view(), name="profile"),
path('bookings/', ClientBookingsView.as_view(), name="bookings"),
path('', RedirectView.as_view(url=reverse_lazy("clients:dashboard"))),
]