buttons in table footer

This commit is contained in:
2025-07-11 20:26:02 +03:00
parent d72cf0a0b3
commit d986fdf232
46 changed files with 1828 additions and 1720 deletions
+9 -4
View File
@@ -1,8 +1,13 @@
from django.urls import path
from django.urls import path, include
from booking.views import CreateBookingView, BookingListView
from booking.views.client_views import CreateBookingView, ClientBookingView, ClientBookingUpdateView
from booking.views.employee_views import BookingListView
urlpatterns = [
path('client/', CreateBookingView.as_view(), name='client_booking'),
path('employee_bookings', BookingListView.as_view(), name='employee_bookings'),
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'),
]