Skip to content

Commit

Permalink
bugs solving try
Browse files Browse the repository at this point in the history
  • Loading branch information
Pratyaksh2309 committed Dec 2, 2024
1 parent 1a92e02 commit 48e0d9a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion socbackend/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,13 @@ def delete(self, request):

class BasicProjectListView(generics.ListAPIView):
permission_classes = []

if True:
upload_projects("./projects.csv")
queryset = Project.objects.all()
serializer_class = BasicProjectSerializer


# class ProjectListView(generics.ListAPIView):
# class ProjectAddView(generics.CreateAPIView):
# queryset = Project.objects.all()
# serializer_class = ProjectAdditionSerializer
Expand Down

0 comments on commit 48e0d9a

Please sign in to comment.