parent
ea4f6f84aa
commit
2c9ad37bbd
@ -1,9 +1,10 @@
|
|||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
|
||||||
from .views import PhotoListCreateAPIView, FavouriteOrganizationAPIView
|
from .views import PhotoListCreateAPIView, FavouriteOrganizationAPIView, FavouriteOrganizationsListAPIView
|
||||||
|
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('gallery/', PhotoListCreateAPIView.as_view()),
|
path('gallery/', PhotoListCreateAPIView.as_view()),
|
||||||
path('wishlist/<int:id>/favourite/', FavouriteOrganizationAPIView.as_view())
|
path('wishlist/<int:id>/favourite/', FavouriteOrganizationAPIView.as_view()),
|
||||||
|
path('wishlist/', FavouriteOrganizationsListAPIView.as_view())
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in new issue