diff options
Diffstat (limited to 'src/booking/urls.py')
-rw-r--r-- | src/booking/urls.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/booking/urls.py b/src/booking/urls.py index 4d00b7f..310aaa7 100644 --- a/src/booking/urls.py +++ b/src/booking/urls.py @@ -32,7 +32,9 @@ from booking.views import ( bookingDelete, BookingListView, booking_stats_view, - booking_stats_json + booking_stats_json, + quick_create, + booking_modify_image ) app_name = "booking" @@ -41,13 +43,12 @@ urlpatterns = [ url(r'^detail/(?P<booking_id>[0-9]+)/$', booking_detail_view, 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'), - url(r'^delete/(?P<booking_id>[0-9]+)/confirm/$', bookingDelete, name='delete_booking'), - + url(r'^modify/(?P<booking_id>[0-9]+)/image/$', booking_modify_image, name='modify_booking_image'), url(r'^list/$', BookingListView.as_view(), name='list'), url(r'^stats/$', booking_stats_view, name='stats'), url(r'^stats/json$', booking_stats_json, name='stats_json'), + url(r'^quick/$', quick_create, name='quick_create'), ] |