through-your-tears 9 months ago
parent 3015e016a5
commit ad7f2e10c2

@ -14,6 +14,6 @@ urlpatterns = [
path('map/', OrganizationMapFilterAPIView.as_view()), path('map/', OrganizationMapFilterAPIView.as_view()),
path('owner/', OwnerOrganizationListAPIView.as_view()), path('owner/', OwnerOrganizationListAPIView.as_view()),
path('visited/', VisitedOrganizationsListAPIView.as_view()), path('visited/', VisitedOrganizationsListAPIView.as_view()),
path('rec_data/', SendDataToRecommendAPIView.as_view()) path('rec_data/', SendDataToRecommendAPIView.as_view()),
# path('upload/', UploadAPIView.as_view()) path('upload/', UploadAPIView.as_view())
] + router.urls ] + router.urls

@ -135,4 +135,3 @@ class UploadAPIView(APIView):
def post(self, request): def post(self, request):
parse_organizations_to_db(self.request.data) parse_organizations_to_db(self.request.data)
return Response({'message': 'da'}, status=status.HTTP_201_CREATED) return Response({'message': 'da'}, status=status.HTTP_201_CREATED)

Loading…
Cancel
Save