diff --git a/src/organizations/urls.py b/src/organizations/urls.py index 151f9bf..3609958 100644 --- a/src/organizations/urls.py +++ b/src/organizations/urls.py @@ -1,7 +1,7 @@ from django.urls import path from rest_framework.routers import DefaultRouter -from .views import OrganizationViewSet, OrganizationSearchListAPIView, OrganizationByCategoryListAPIView, CategoryListAPIView +from .views import OrganizationViewSet, OrganizationSearchListAPIView, OrganizationByCategoryListAPIView, CategoryListAPIView, UploadAPIView app_name = "organizations" @@ -10,5 +10,6 @@ router.register('', OrganizationViewSet, 'organizations') urlpatterns = [ path('category//organizations/', OrganizationByCategoryListAPIView.as_view()), path('search//', OrganizationSearchListAPIView.as_view()), - path('categories/', CategoryListAPIView.as_view()) + path('categories/', CategoryListAPIView.as_view()), + path('upload/', UploadAPIView.as_view()) ] + router.urls