From 1a92e028cce707c8f3267b45b582673124b207b0 Mon Sep 17 00:00:00 2001 From: Pratyaksh Bhardwaj Date: Sun, 24 Nov 2024 18:45:22 +0530 Subject: [PATCH] Bugs resolved final --- socbackend/projects/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/socbackend/projects/views.py b/socbackend/projects/views.py index 909d633..c625d0a 100644 --- a/socbackend/projects/views.py +++ b/socbackend/projects/views.py @@ -110,7 +110,8 @@ def delete(self, request): class BasicProjectListView(generics.ListAPIView): permission_classes = [] - upload_projects("./projects.csv") + if True: + upload_projects("./projects.csv") queryset = Project.objects.all() serializer_class = BasicProjectSerializer