diff --git a/src/organizations/urls.py b/src/organizations/urls.py index 182e763..ce0fa7c 100644 --- a/src/organizations/urls.py +++ b/src/organizations/urls.py @@ -14,6 +14,6 @@ urlpatterns = [ path('map/', OrganizationMapFilterAPIView.as_view()), path('owner/', OwnerOrganizationListAPIView.as_view()), path('visited/', VisitedOrganizationsListAPIView.as_view()), - path('rec_data/', SendDataToRecommendAPIView.as_view()) - # path('upload/', UploadAPIView.as_view()) + path('rec_data/', SendDataToRecommendAPIView.as_view()), + path('upload/', UploadAPIView.as_view()) ] + router.urls diff --git a/src/organizations/views.py b/src/organizations/views.py index 05e304d..c9d69b8 100644 --- a/src/organizations/views.py +++ b/src/organizations/views.py @@ -135,4 +135,3 @@ class UploadAPIView(APIView): def post(self, request): parse_organizations_to_db(self.request.data) return Response({'message': 'da'}, status=status.HTTP_201_CREATED) -