from django.urls import path from .views import ( PhotoGroupAPIView, PhotosAPIView, PhotoAPIView, AddPhotoAPIView, AddPhotoGroupAPIView, AutoCropPhotoAPIView, PhotoLogsAPIView, PhotoLogAPIView, AddPhotoLogAPIView, DestroyPhotoLogAPIView, DestroyPhotoAPIView, UpdatePhotoLogAPIView, UpdatePhotoAPIView, GeneratePhotoLogAPIView, PhotoTagsAPIView, RetrieveUpdateDestroyPhotoTagAPIView, CreatePhotoTagAPIView, PhotoLogTemplatesAPIView, CreatePhotoLogTemplateAPIView, RetrieveUpdateDestroyPhotoLogTemplateAPIView, UsersAPIView, ) urlpatterns = [ #path('', PhotoGroupAPIView.as_view()), path('photogroups/', PhotoGroupAPIView.as_view()), path('photos/', PhotosAPIView.as_view()), path('photo//', PhotoAPIView.as_view()), path('addphoto/', AddPhotoAPIView.as_view()), path('addphotogroup/', AddPhotoGroupAPIView.as_view()), path('cropphoto//', AutoCropPhotoAPIView.as_view()), path('photologs/', PhotoLogsAPIView.as_view()), path('photolog//', PhotoLogAPIView.as_view()), path('addphotolog/', AddPhotoLogAPIView.as_view()), path('deletephotolog//', DestroyPhotoLogAPIView.as_view()), path('deletephoto//', DestroyPhotoAPIView.as_view()), path('updatephotolog//', UpdatePhotoLogAPIView.as_view()), path('updatephoto//', UpdatePhotoAPIView.as_view()), path('generatephotolog//', GeneratePhotoLogAPIView.as_view()), path('phototag/', CreatePhotoTagAPIView.as_view()), path('phototags/', PhotoTagsAPIView.as_view()), path('phototag//', RetrieveUpdateDestroyPhotoTagAPIView.as_view()), path('photolog/template/', CreatePhotoLogTemplateAPIView.as_view()), path('photolog/templates/', PhotoLogTemplatesAPIView.as_view()), path('photolog/template//', RetrieveUpdateDestroyPhotoLogTemplateAPIView.as_view()), path('users/', UsersAPIView.as_view()), ]