generated from bisco/codex-bootstrap
feat: add booking REST API
This commit is contained in:
13
backend/bookings/urls.py
Normal file
13
backend/bookings/urls.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"performances/<int:performance_id>/reservations/",
|
||||
views.create_reservation,
|
||||
name="api-reservation-create",
|
||||
),
|
||||
path("reservations/confirm/", views.confirm_reservation, name="api-reservation-confirm"),
|
||||
]
|
||||
Reference in New Issue
Block a user