gaia_cob_pmp.app.forms.researcher

Attributes

Classes

ResearcherForm

Handles the common setup for researcher-based forms.

ProfileForm

Handles displaying both user details and researcher details.

ProfileChangeForm

Handles editing both user details and researcher details.

Module Contents

gaia_cob_pmp.app.forms.researcher.User
class gaia_cob_pmp.app.forms.researcher.ResearcherForm(**kwargs)

Bases: iommi.Form

Handles the common setup for researcher-based forms.

class Meta
auto__model
class gaia_cob_pmp.app.forms.researcher.ProfileForm(**kwargs)

Bases: iommi.Form

Handles displaying both user details and researcher details.

user
researcher
class Meta
title = 'Researcher Profile'
class gaia_cob_pmp.app.forms.researcher.ProfileChangeForm(**kwargs)

Bases: iommi.Form

Handles editing both user details and researcher details.

user
researcher
class Meta

Lets you nest edits to both the user and researcher model in one form. https://docs.iommi.rocks/cookbook_forms.html#how-do-i-nest-multiple-forms

actions__submit__post_handler
title = 'Change Profile'