journals.api.viewsets.pubfraction module

class journals.api.viewsets.pubfraction.PubFractionPublicAPIViewSet(**kwargs)[source]

Bases: api.viewsets.mixins.FilteringOptionsActionMixin, rest_framework.viewsets.ReadOnlyModelViewSet

permission_classes = [<class 'rest_framework.permissions.AllowAny'>]
serializer_class

alias of journals.api.serializers.pubfraction.PubFractionPublicSerializer

renderer_classes = (<class 'rest_framework.renderers.JSONRenderer'>, <class 'rest_framework.renderers.BrowsableAPIRenderer'>, <class 'rest_framework_csv.renderers.CSVRenderer'>)
search_fields = ['organization__name', 'publication__publication_date__year']
ordering_fields = ['-publication_date']
filterset_class

alias of journals.api.filtersets.pubfraction.PubFractionPublicAPIFilterSet

default_filtering_fields = ['organization__name__icontains', 'publication__publication_date__year__exact']
basename = None
description = None
detail = None
name = None
suffix = None