You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
584 B
Python
13 lines
584 B
Python
from django.urls import path, include
|
|
|
|
from booking.views.client_views import CreateBookingView, ClientBookingView, ClientBookingUpdateView
|
|
from booking.views.employee_views import BookingListView
|
|
|
|
urlpatterns = [
|
|
path('client/', include([
|
|
path('', ClientBookingView.as_view(), name='client_booking'),
|
|
path('create/', CreateBookingView.as_view(), name='client_booking_create'),
|
|
path('update/<int:pk>/', ClientBookingUpdateView.as_view(), name='client_booking_update'),
|
|
])),
|
|
path('employee/', BookingListView.as_view(), name='employee_bookings'),
|
|
] |