Skip to content

Forms

hypha.apply.funds.models.forms

ApplicationForm

Bases: Model

wagtail_reference_index_ignore class-attribute instance-attribute

wagtail_reference_index_ignore = True

name class-attribute instance-attribute

name = CharField(max_length=255)

form_fields class-attribute instance-attribute

form_fields = StreamField(ApplicationCustomFormFieldsBlock(), use_json_field=True)

panels class-attribute instance-attribute

panels = [FieldPanel('name'), FieldPanel('form_fields')]

AbstractRelatedForm

Bases: Orderable

FIRST_STAGE class-attribute instance-attribute

FIRST_STAGE = 1

SECOND_STAGE class-attribute instance-attribute

SECOND_STAGE = 2

STAGE_CHOICES class-attribute instance-attribute

STAGE_CHOICES = [(FIRST_STAGE, '1st Stage'), (SECOND_STAGE, '2nd Stage')]

form class-attribute instance-attribute

form = ForeignKey('ApplicationForm', on_delete=PROTECT)

stage class-attribute instance-attribute

stage = PositiveSmallIntegerField(choices=STAGE_CHOICES)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbaseform__isnull': True}), FieldPanel('stage')]

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseForm

Bases: AbstractRelatedForm

FIRST_STAGE class-attribute instance-attribute

FIRST_STAGE = 1

SECOND_STAGE class-attribute instance-attribute

SECOND_STAGE = 2

STAGE_CHOICES class-attribute instance-attribute

STAGE_CHOICES = [(FIRST_STAGE, '1st Stage'), (SECOND_STAGE, '2nd Stage')]

form class-attribute instance-attribute

form = ForeignKey('ApplicationForm', on_delete=PROTECT)

stage class-attribute instance-attribute

stage = PositiveSmallIntegerField(choices=STAGE_CHOICES)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbaseform__isnull': True}), FieldPanel('stage')]

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

RoundBaseForm

Bases: AbstractRelatedForm

FIRST_STAGE class-attribute instance-attribute

FIRST_STAGE = 1

SECOND_STAGE class-attribute instance-attribute

SECOND_STAGE = 2

STAGE_CHOICES class-attribute instance-attribute

STAGE_CHOICES = [(FIRST_STAGE, '1st Stage'), (SECOND_STAGE, '2nd Stage')]

form class-attribute instance-attribute

form = ForeignKey('ApplicationForm', on_delete=PROTECT)

stage class-attribute instance-attribute

stage = PositiveSmallIntegerField(choices=STAGE_CHOICES)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbaseform__isnull': True}), FieldPanel('stage')]

fields property

fields

round class-attribute instance-attribute

round = ParentalKey('RoundBase', related_name='forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseForm

Bases: AbstractRelatedForm

FIRST_STAGE class-attribute instance-attribute

FIRST_STAGE = 1

SECOND_STAGE class-attribute instance-attribute

SECOND_STAGE = 2

STAGE_CHOICES class-attribute instance-attribute

STAGE_CHOICES = [(FIRST_STAGE, '1st Stage'), (SECOND_STAGE, '2nd Stage')]

form class-attribute instance-attribute

form = ForeignKey('ApplicationForm', on_delete=PROTECT)

stage class-attribute instance-attribute

stage = PositiveSmallIntegerField(choices=STAGE_CHOICES)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbaseform__isnull': True}), FieldPanel('stage')]

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

AbstractRelatedDeterminationForm

Bases: Orderable

form class-attribute instance-attribute

form = ForeignKey('determinations.DeterminationForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasedeterminationform__isnull': True})]

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

AbstractRelatedReviewForm

Bases: Orderable

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseExternalReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='external_review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

RoundBaseReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

round class-attribute instance-attribute

round = ParentalKey('RoundBase', related_name='review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

RoundBaseExternalReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

round class-attribute instance-attribute

round = ParentalKey('RoundBase', related_name='external_review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseExternalReviewForm

Bases: AbstractRelatedReviewForm

form class-attribute instance-attribute

form = ForeignKey('review.ReviewForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasereviewform__isnull': True})]

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='external_review_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseDeterminationForm

Bases: AbstractRelatedDeterminationForm

form class-attribute instance-attribute

form = ForeignKey('determinations.DeterminationForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasedeterminationform__isnull': True})]

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='determination_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

RoundBaseDeterminationForm

Bases: AbstractRelatedDeterminationForm

form class-attribute instance-attribute

form = ForeignKey('determinations.DeterminationForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasedeterminationform__isnull': True})]

fields property

fields

round class-attribute instance-attribute

round = ParentalKey('RoundBase', related_name='determination_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseDeterminationForm

Bases: AbstractRelatedDeterminationForm

form class-attribute instance-attribute

form = ForeignKey('determinations.DeterminationForm', on_delete=PROTECT)

panels class-attribute instance-attribute

panels = [FilteredFieldPanel('form', filter_query={'roundbasedeterminationform__isnull': True})]

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='determination_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

AbstractRelatedProjectForm

Bases: Orderable

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectForm', on_delete=PROTECT)

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

AbstractRelatedProjectSOWForm

Bases: Orderable

Abstract class for SOW Form to use it in Funds and Labs, similar to the other forms liks ReviewForms etc

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectSOWForm', on_delete=PROTECT)

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseProjectForm

Bases: AbstractRelatedProjectForm

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectForm', on_delete=PROTECT)

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='approval_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseProjectSOWForm

Bases: AbstractRelatedProjectSOWForm

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectSOWForm', on_delete=PROTECT)

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='sow_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseProjectForm

Bases: AbstractRelatedProjectForm

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectForm', on_delete=PROTECT)

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='approval_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseProjectSOWForm

Bases: AbstractRelatedProjectSOWForm

form class-attribute instance-attribute

form = ForeignKey('application_projects.ProjectSOWForm', on_delete=PROTECT)

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='sow_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

AbstractRelatedProjectReportForm

Bases: Orderable

form class-attribute instance-attribute

form = ForeignKey(to=ProjectReportForm, on_delete=PROTECT)

fields property

fields

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

ApplicationBaseProjectReportForm

Bases: AbstractRelatedProjectReportForm

form class-attribute instance-attribute

form = ForeignKey(to=ProjectReportForm, on_delete=PROTECT)

fields property

fields

application class-attribute instance-attribute

application = ParentalKey('ApplicationBase', related_name='report_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True

LabBaseProjectReportForm

Bases: AbstractRelatedProjectReportForm

form class-attribute instance-attribute

form = ForeignKey(to=ProjectReportForm, on_delete=PROTECT)

fields property

fields

lab class-attribute instance-attribute

lab = ParentalKey('LabBase', related_name='report_forms')

Meta

Bases: Meta

abstract class-attribute instance-attribute
abstract = True