JourneyJoker/clients/urls.py

14 lines
591 B
Python
Raw Normal View History

from django.urls import path, reverse_lazy
from django.views.generic import RedirectView
2021-04-12 13:32:15 +00:00
from .views import ClientRegistrationView, ClientProfileView, ClientDashboardView, ClientBookingsView
app_name = "clients"
urlpatterns = [
2021-04-12 12:39:18 +00:00
path('dashboard/', ClientDashboardView.as_view(), name="dashboard"),
path('register/', ClientRegistrationView.as_view(), name="register"),
path('profile/', ClientProfileView.as_view(), name="profile"),
2021-04-12 13:32:15 +00:00
path('bookings/', ClientBookingsView.as_view(), name="bookings"),
path('', RedirectView.as_view(url=reverse_lazy("clients:dashboard"))),
]