From ecadb07367d31c0929212618e120130f54af78da Mon Sep 17 00:00:00 2001 From: Justin Choquette Date: Tue, 8 Aug 2023 11:33:57 -0400 Subject: MVP Change-Id: Ib590302f49e7e66f8d04841fb6cb97baf623f51a Signed-off-by: Justin Choquette --- src/booking/urls.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/booking/urls.py') diff --git a/src/booking/urls.py b/src/booking/urls.py index 9784fc5..c6b9d40 100644 --- a/src/booking/urls.py +++ b/src/booking/urls.py @@ -26,6 +26,7 @@ Including another URLconf 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) """ from django.conf.urls import url +from django.urls import path from booking.views import ( booking_detail_view, @@ -34,9 +35,12 @@ from booking.views import ( BookingListView, ) +from api.views import booking_status + app_name = 'booking' urlpatterns = [ url(r'^detail/(?P[0-9]+)/$', booking_detail_view, name='detail'), + url(r'^detail/(?P[0-9]+)/status$', booking_status, name='detail'), url(r'^(?P[0-9]+)/$', booking_detail_view, name='booking_detail'), url(r'^delete/$', BookingDeleteView.as_view(), name='delete_prefix'), url(r'^delete/(?P[0-9]+)/$', BookingDeleteView.as_view(), name='delete'), -- cgit 1.2.3-korg