Добавлены разные activities для пользователя

main
through-your-tears 9 months ago
parent ea4f6f84aa
commit 2c9ad37bbd

@ -1,9 +1,10 @@
from django.urls import path
from .views import PhotoListCreateAPIView, FavouriteOrganizationAPIView
from .views import PhotoListCreateAPIView, FavouriteOrganizationAPIView, FavouriteOrganizationsListAPIView
urlpatterns = [
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…
Cancel
Save