journals.api.filtersets.pubfraction module

class journals.api.filtersets.pubfraction.PubFractionPublicAPIFilterSet(data=None, queryset=None, *, request=None, prefix=None)[source]

Bases: django_filters.rest_framework.filterset.FilterSet

class Meta[source]

Bases: object

model

alias of journals.models.publication.OrgPubFraction

fields = {'fraction': ['gte', 'lte', 'exact'], 'organization__country': ['exact'], 'organization__name': ['icontains', 'istartswith', 'exact'], 'publication__publication_date': ['year', 'month', 'exact', 'year__gte', 'year__lte', 'year__range', 'gte', 'lte', 'range']}
base_filters = {'fraction': <django_filters.filters.NumberFilter object>, 'fraction__gte': <django_filters.filters.NumberFilter object>, 'fraction__lte': <django_filters.filters.NumberFilter object>, 'organization__country': <django_filters.filters.ChoiceFilter object>, 'organization__name': <django_filters.filters.CharFilter object>, 'organization__name__icontains': <django_filters.filters.CharFilter object>, 'organization__name__istartswith': <django_filters.filters.CharFilter object>, 'publication__publication_date': <django_filters.filters.DateFilter object>, 'publication__publication_date__gte': <django_filters.filters.DateFilter object>, 'publication__publication_date__lte': <django_filters.filters.DateFilter object>, 'publication__publication_date__month': <django_filters.filters.NumberFilter object>, 'publication__publication_date__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>, 'publication__publication_date__year': <django_filters.filters.NumberFilter object>, 'publication__publication_date__year__gte': <django_filters.filters.NumberFilter object>, 'publication__publication_date__year__lte': <django_filters.filters.NumberFilter object>, 'publication__publication_date__year__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>}
declared_filters = {}