-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathurls.py
26 lines (24 loc) · 943 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from django.urls import path
from wishlist import views
urlpatterns = [
path("", views.home_view, name="home_view"),
path("wish/<int:list_owner>", views.wishListView, name="wishList"),
path(
"wish/add/<int:list_owner>", views.CreateWishView.as_view(), name="createWish"
),
path("wish/delete/<int:wish_id>", views.deleteWishView, name="deleteWish"),
path(
"wish/favorite/<int:wish_id>", views.toggleFavoriteView, name="toggleFavorite"
),
path("wish/reserve/<int:wish_id>", views.reserveWishView, name="reserveWish"),
path(
"wish/unreserve/<int:wish_id>",
views.cancelReserveWishView,
name="cancelReserveWish",
),
path("wish/edit/<int:pk>", views.EditWishView.as_view(), name="editWish"),
path(
"reservations", views.ReservationListView.as_view(), name="reservationListView"
),
path("manifest.json", views.getManifest, name="manifest"),
]