Commit 539b7a33 authored by Luis García's avatar Luis García
Browse files

Bug fix for category-survey

parent f7de654b
......@@ -41,7 +41,7 @@ class SurveyViewSet(DestroyToInvisibleMixin, OwnerFieldMixin, ModelViewSet):
############################################################
#REST API for Category Survey
############################################################
class CategorySurveyViewSet(DestroyToInvisibleMixin, OwnerFieldMixin, ModelViewSet):
class CategorySurveyViewSet(DestroyToInvisibleMixin, ModelViewSet):
#Everyone can read, just staff user can modificate
permission_classes = (IsStaffOrReadOnly,)
queryset = CategorySurvey.objects.filter(visible=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment