buttons in table footer
This commit is contained in:
+9
-4
@@ -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'),
|
||||
]
|
||||
Reference in New Issue
Block a user