class BrochureViewSet(viewsets.ModelViewSet): queryset = Brochure.objects.all() serializer_class = get_dynamic_serializer(Brochure) permission_classes = [permissions.IsAuthenticatedOrReadOnly]
class RegistrationViewSet(viewsets.ModelViewSet): queryset = Registration.objects.all() serializer_class = get_dynamic_serializer(Registration) permission_classes = [permissions.IsAuthenticated]
class NewSponsorViewSet(viewsets.ModelViewSet): queryset = NewSponsor.objects.all() serializer_class = get_dynamic_serializer(NewSponsor) permission_classes = [permissions.IsAuthenticatedOrReadOnly]
class ClubViewSet(viewsets.ModelViewSet): queryset = Club.objects.all() serializer_class = get_dynamic_serializer(Club) permission_classes = [permissions.IsAuthenticatedOrReadOnly]