Skip to content

Commit

Permalink
create for projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Olga-koml committed Nov 9, 2023
1 parent 876e131 commit d3eaa22
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from drf_yasg.utils import swagger_auto_schema
from rest_framework import filters, generics, mixins, status, viewsets
from rest_framework.decorators import action
# from rest_framework.exceptions import PermissionDenied
from rest_framework.permissions import SAFE_METHODS, AllowAny
from rest_framework.response import Response
from taggit.models import Tag
Expand Down Expand Up @@ -442,7 +441,6 @@ class ProjectMeViewSet(viewsets.GenericViewSet, mixins.ListModelMixin):
filter_backends = [DjangoFilterBackend]
filterset_class = StatusProjectFilter
permission_classes = [IsOrganizer | IsVolunteer]
# parmission_classes = AllowAny

def get_queryset(self):
if self.request.user.is_volunteer:
Expand Down

0 comments on commit d3eaa22

Please sign in to comment.