@@ -0,0 +1,622 @@
+# -*- coding: utf-8 -*-%0Afrom rest_framework import mixins, viewsets%0A%0Afrom .models import Complaint, Category%0Afrom .serializers import ComplaintSerializerBase, CategorySerializerBase%0A%0A%0Aclass BaseComplaintViewSet(%0A    mixins.CreateModelMixin,%0A    mixins.UpdateModelMixin,%0A    mixins.RetrieveModelMixin,%0A    mixins.ListModelMixin,%0A    viewsets.GenericViewSet%0A):%0A    model = Complaint%0A    serializer_class = ComplaintSerializerBase%0A%0A%0Aclass BaseComplaintCategoryViewSet(%0A    mixins.ListModelMixin,%0A    mixins.RetrieveModelMixin,%0A    viewsets.GenericViewSet%0A):%0A    model = Category%0A    serializer_class = CategorySerializerBase%0A

add base views