journals.api.filtersets.publication module

class journals.api.filtersets.publication.PublicationPublicAPIFilterSet(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.Publication

fields = {'abstract': ['icontains', 'contains', 'iregex', 'regex'], 'acad_field__name': ['icontains'], 'author_list': ['icontains', 'contains', 'iregex', 'regex'], 'authors__affiliations__country': ['exact'], 'authors__affiliations__name': ['icontains'], 'doi_label': ['icontains'], 'publication_date': ['year', 'month', 'exact', 'year__gte', 'year__lte', 'year__range', 'gte', 'lte', 'range'], 'specialties__name': ['icontains'], 'title': ['icontains', 'contains', 'istartswith', 'iregex', 'regex'], 'topics__name': ['icontains']}
base_filters = {'abstract__contains': <django_filters.filters.CharFilter object>, 'abstract__icontains': <django_filters.filters.CharFilter object>, 'abstract__iregex': <django_filters.filters.CharFilter object>, 'abstract__regex': <django_filters.filters.CharFilter object>, 'acad_field__name__icontains': <django_filters.filters.CharFilter object>, 'author_list__contains': <django_filters.filters.CharFilter object>, 'author_list__icontains': <django_filters.filters.CharFilter object>, 'author_list__iregex': <django_filters.filters.CharFilter object>, 'author_list__regex': <django_filters.filters.CharFilter object>, 'authors__affiliations__country': <django_filters.filters.ChoiceFilter object>, 'authors__affiliations__name__icontains': <django_filters.filters.CharFilter object>, 'doi_label__icontains': <django_filters.filters.CharFilter object>, 'publication_date': <django_filters.filters.DateFilter object>, 'publication_date__gte': <django_filters.filters.DateFilter object>, 'publication_date__lte': <django_filters.filters.DateFilter object>, 'publication_date__month': <django_filters.filters.NumberFilter object>, 'publication_date__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>, 'publication_date__year': <django_filters.filters.NumberFilter object>, 'publication_date__year__gte': <django_filters.filters.NumberFilter object>, 'publication_date__year__lte': <django_filters.filters.NumberFilter object>, 'publication_date__year__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>, 'specialties__name__icontains': <django_filters.filters.CharFilter object>, 'title__contains': <django_filters.filters.CharFilter object>, 'title__icontains': <django_filters.filters.CharFilter object>, 'title__iregex': <django_filters.filters.CharFilter object>, 'title__istartswith': <django_filters.filters.CharFilter object>, 'title__regex': <django_filters.filters.CharFilter object>, 'topics__name__icontains': <django_filters.filters.CharFilter object>}
declared_filters = {}
class journals.api.filtersets.publication.PublicationPublicSearchAPIFilterSet(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.Publication

fields = {'abstract': ['icontains', 'contains', 'iregex', 'regex'], 'acad_field__name': ['icontains'], 'author_list': ['icontains', 'contains', 'iregex', 'regex'], 'authors__affiliations__country': ['iexact'], 'authors__affiliations__name': ['icontains'], 'doi_label': ['icontains'], 'publication_date': ['year', 'month', 'exact', 'year__gte', 'year__lte', 'year__range', 'gte', 'lte', 'range'], 'specialties__name': ['icontains'], 'title': ['icontains', 'contains', 'istartswith', 'iregex', 'regex'], 'topics__name': ['icontains']}
base_filters = {'abstract__contains': <django_filters.filters.CharFilter object>, 'abstract__icontains': <django_filters.filters.CharFilter object>, 'abstract__iregex': <django_filters.filters.CharFilter object>, 'abstract__regex': <django_filters.filters.CharFilter object>, 'acad_field__name__icontains': <django_filters.filters.CharFilter object>, 'author_list__contains': <django_filters.filters.CharFilter object>, 'author_list__icontains': <django_filters.filters.CharFilter object>, 'author_list__iregex': <django_filters.filters.CharFilter object>, 'author_list__regex': <django_filters.filters.CharFilter object>, 'authors__affiliations__country__iexact': <django_filters.filters.CharFilter object>, 'authors__affiliations__name__icontains': <django_filters.filters.CharFilter object>, 'doi_label__icontains': <django_filters.filters.CharFilter object>, 'publication_date': <django_filters.filters.DateFilter object>, 'publication_date__gte': <django_filters.filters.DateFilter object>, 'publication_date__lte': <django_filters.filters.DateFilter object>, 'publication_date__month': <django_filters.filters.NumberFilter object>, 'publication_date__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>, 'publication_date__year': <django_filters.filters.NumberFilter object>, 'publication_date__year__gte': <django_filters.filters.NumberFilter object>, 'publication_date__year__lte': <django_filters.filters.NumberFilter object>, 'publication_date__year__range': <django_filters.filterset.BaseFilterSet.filter_for_lookup.<locals>.ConcreteRangeFilter object>, 'specialties__name__icontains': <django_filters.filters.CharFilter object>, 'title__contains': <django_filters.filters.CharFilter object>, 'title__icontains': <django_filters.filters.CharFilter object>, 'title__iregex': <django_filters.filters.CharFilter object>, 'title__istartswith': <django_filters.filters.CharFilter object>, 'title__regex': <django_filters.filters.CharFilter object>, 'topics__name__icontains': <django_filters.filters.CharFilter object>}
declared_filters = {}