diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-02-19 21:17:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-19 21:17:12 +0000 |
commit | 5aa91201db4fee539a60f2f9e798593448d42af7 (patch) | |
tree | 54946b78e000e2759b84e5d651b3cdfe13f61822 /src/booking/urls.py | |
parent | 907b5d1be1657301e4701d0d08235db16e7d31de (diff) | |
parent | e5c2305cea0d7359dce6fc04fb23ad032735b1fd (diff) |
Merge "Provide Interface for Booking Deletion"
Diffstat (limited to 'src/booking/urls.py')
-rw-r--r-- | src/booking/urls.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/booking/urls.py b/src/booking/urls.py index 403e32f..ed3b1d4 100644 --- a/src/booking/urls.py +++ b/src/booking/urls.py @@ -30,11 +30,17 @@ from booking.views import * urlpatterns = [ url(r'^(?P<resource_id>[0-9]+)/$', BookingFormView.as_view(), name='create'), url(r'^(?P<resource_id>[0-9]+)/edit/(?P<booking_id>[0-9]+)/$', BookingEditFormView.as_view(), name='edit'), + url(r'^(?P<resource_id>[0-9]+)/bookings_json/$', ResourceBookingsJSON.as_view(), name='bookings_json'), url(r'^detail/$', BookingView.as_view(), name='detail_prefix'), url(r'^detail/(?P<booking_id>[0-9]+)/$', BookingView.as_view(), name='detail'), + url(r'^delete/$', BookingDeleteView.as_view(), name='delete_prefix'), + url(r'^delete/(?P<booking_id>[0-9]+)/$', BookingDeleteView.as_view(), name='delete'), + + url(r'^delete/(?P<booking_id>[0-9]+)/confirm/$', bookingDelete, name='delete_booking'), + url(r'^list/$', BookingListView.as_view(), name='list') -] +]
\ No newline at end of file |