diff options
author | Justin Choquette <jchoquette@iol.unh.edu> | 2023-08-08 11:33:57 -0400 |
---|---|---|
committer | Justin Choquette <jchoquette@iol.unh.edu> | 2023-08-18 11:59:01 -0400 |
commit | ecadb07367d31c0929212618e120130f54af78da (patch) | |
tree | f626ef347f6fa7cb7f9ee962539a5f769bc3d471 /src/booking | |
parent | a6168306c08e8d5b207b9acc48869180d194ff01 (diff) |
MVP
Change-Id: Ib590302f49e7e66f8d04841fb6cb97baf623f51a
Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'src/booking')
-rw-r--r-- | src/booking/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
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<booking_id>[0-9]+)/$', booking_detail_view, name='detail'), + url(r'^detail/(?P<booking_id>[0-9]+)/status$', booking_status, name='detail'), url(r'^(?P<booking_id>[0-9]+)/$', booking_detail_view, name='booking_detail'), url(r'^delete/$', BookingDeleteView.as_view(), name='delete_prefix'), url(r'^delete/(?P<booking_id>[0-9]+)/$', BookingDeleteView.as_view(), name='delete'), |