sharpie.webserver.accounts.forms

Classes

ConsentForm([data, files, auto_id, prefix, ...])

Form for informed consent agreement.

LoginForm([data, files, auto_id, prefix, ...])

Form fields:

ProfileInfoForm(disabled, *args, **kwargs)

Form for updating user profile information.

ProfilePasswordForm(disabled, *args, **kwargs)

Form fields:

RegisterForm([data, files, auto_id, prefix, ...])

Form fields:

class sharpie.webserver.accounts.forms.LoginForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None, bound_field_class=None)

Form fields:

  • username: Username (CharField)

  • password: Password (CharField)

property media

Return all media required to render the widgets on this form.

class sharpie.webserver.accounts.forms.RegisterForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None, bound_field_class=None)

Form fields:

  • username: Username (CharField)

  • first_name: First name (CharField)

  • last_name: Last name (CharField)

  • email: Email (EmailField)

  • password1: Password (CharField)

  • password2: Confirm Password (CharField)

  • registration_key: Registration Key (CharField)

property media

Return all media required to render the widgets on this form.

class sharpie.webserver.accounts.forms.ConsentForm(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None, bound_field_class=None)

Form for informed consent agreement.

Form fields:

  • agree: I agree to participate in the research project as described above (BooleanField)

property media

Return all media required to render the widgets on this form.

class sharpie.webserver.accounts.forms.ProfileInfoForm(disabled, *args, **kwargs)

Form for updating user profile information.

Form fields:

  • username: Username (CharField)

  • email: Email (EmailField)

  • first_name: First name (CharField)

  • last_name: Last name (CharField)

__init__(disabled, *args, **kwargs)
property media

Return all media required to render the widgets on this form.

class sharpie.webserver.accounts.forms.ProfilePasswordForm(disabled, *args, **kwargs)

Form fields:

  • password1: Password (CharField)

  • password2: Confirm Password (CharField)

__init__(disabled, *args, **kwargs)
property media

Return all media required to render the widgets on this form.