deposit.hal.forms module

class deposit.hal.forms.AffiliationSelect2(url=None, forward=None, *args, **kwargs)[source]

Bases: autocomplete.widgets.Select2

autocomplete_function = u'select2-customTemplate'
media
class deposit.hal.forms.HALForm(paper, **kwargs)[source]

Bases: deposit.forms.FormWithAbstract

base_fields = OrderedDict([('paper_id', <django.forms.fields.IntegerField object>), ('abstract', <django.forms.fields.CharField object>), ('topic', <django.forms.fields.ChoiceField object>), ('depositing_author', <django.forms.fields.TypedChoiceField object>), ('affiliation', <django.forms.fields.CharField object>)])
declared_fields = OrderedDict([('paper_id', <django.forms.fields.IntegerField object>), ('abstract', <django.forms.fields.CharField object>), ('topic', <django.forms.fields.ChoiceField object>), ('depositing_author', <django.forms.fields.TypedChoiceField object>), ('affiliation', <django.forms.fields.CharField object>)])
media
class deposit.hal.forms.HALPreferencesForm(*args, **kwargs)[source]

Bases: django.forms.models.ModelForm

class Meta[source]
fields = [u'on_behalf_of']
model

alias of HALDepositPreferences

base_fields = OrderedDict([(u'on_behalf_of', <django.forms.fields.CharField object>)])
declared_fields = OrderedDict()
media