deposit.osf.forms module

class deposit.osf.forms.OSFForm(paper, endpoint, **kwargs)[source]

Bases: deposit.forms.FormWithAbstract

base_fields = OrderedDict([('paper_id', <django.forms.fields.IntegerField object>), ('abstract', <django.forms.fields.CharField object>), ('license', <django.forms.fields.ChoiceField object>), ('tags', <django.forms.fields.CharField object>), ('subjects', <django.forms.fields.MultipleChoiceField object>)])
declared_fields = OrderedDict([('paper_id', <django.forms.fields.IntegerField object>), ('abstract', <django.forms.fields.CharField object>), ('license', <django.forms.fields.ChoiceField object>), ('tags', <django.forms.fields.CharField object>), ('subjects', <django.forms.fields.MultipleChoiceField object>)])
media
class deposit.osf.forms.OSFPreferencesForm(*args, **kwargs)[source]

Bases: django.forms.models.ModelForm

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

alias of OSFDepositPreferences

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