Update urls.py
This commit is contained in:
parent
0cfc48e537
commit
f3eda60868
|
|
@ -7,8 +7,8 @@ app = 'booking'
|
|||
urlpatterns = [
|
||||
path('<int:establishment_id>/check/', views.CheckWhetherBookingAvailable.as_view(), name='booking-check'),
|
||||
path('<int:establishment_id>/create/', views.CreatePendingBooking.as_view(), name='create-pending-booking'),
|
||||
path('<int:pk>', views.UpdatePendingBooking.as_view(), name='update-pending-booking'),
|
||||
path('<int:pk>/cancel', views.CancelBooking.as_view(), name='cancel-existing-booking'),
|
||||
path('<int:pk>/', views.UpdatePendingBooking.as_view(), name='update-pending-booking'),
|
||||
path('<int:pk>/cancel/', views.CancelBooking.as_view(), name='cancel-existing-booking'),
|
||||
path('last/', views.LastBooking.as_view(), name='last_booking-for-authorizer-user'),
|
||||
path('retrieve/<int:pk>', views.GetBookingById.as_view(), name='retrieves-booking-by-id'),
|
||||
path('retrieve/<int:pk>/', views.GetBookingById.as_view(), name='retrieves-booking-by-id'),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user