From ad7f2e10c25ee20e4609042662404a042f0d0b62 Mon Sep 17 00:00:00 2001 From: through-your-tears Date: Sun, 7 Apr 2024 13:46:47 +0300 Subject: [PATCH] ... --- src/organizations/urls.py | 4 ++-- src/organizations/views.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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) -