publishers.forms module

class publishers.forms.PublisherForm(*args, **kwargs)[source]

Bases: haystack.forms.SearchForm

ORDER_CHOICES = [('dec', <django.utils.functional.__proxy__ object>), ('inc', <django.utils.functional.__proxy__ object>)]
SORT_CHOICES = [('num_papers', <django.utils.functional.__proxy__ object>), ('name', <django.utils.functional.__proxy__ object>)]
base_fields = OrderedDict([('q', <django.forms.fields.CharField object>), ('oa_status', <django.forms.fields.MultipleChoiceField object>), ('sort_by', <django.forms.fields.ChoiceField object>), ('reverse_order', <django.forms.fields.ChoiceField object>)])
declared_fields = OrderedDict([('q', <django.forms.fields.CharField object>), ('oa_status', <django.forms.fields.MultipleChoiceField object>), ('sort_by', <django.forms.fields.ChoiceField object>), ('reverse_order', <django.forms.fields.ChoiceField object>)])
media
search()[source]