Forms
hypha.apply.determinations.forms
¶
BaseDeterminationForm
¶
Source code in hypha/apply/determinations/forms.py
data_fields
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
BaseNormalDeterminationForm
¶
Bases: BaseDeterminationForm
, ModelForm
Source code in hypha/apply/determinations/forms.py
Meta
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
data_fields
¶
outcome_choices_for_phase
¶
Outcome choices correspond to Phase transitions. We need to filter out non-matching choices. i.e. a transition to In Review is not a determination, while Needs more info or Rejected are.
Source code in hypha/apply/determinations/forms.py
BaseBatchDeterminationForm
¶
Bases: BaseDeterminationForm
, Form
Source code in hypha/apply/determinations/forms.py
submissions
class-attribute
instance-attribute
¶
author
class-attribute
instance-attribute
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
data_fields
¶
BaseConceptDeterminationForm
¶
Bases: Form
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
principles
class-attribute
instance-attribute
¶
principles = RichTextField(label=gettext_lazy('Goals and principles'), help_text='Does the project contribute and/or have relevance to OTF goals and principles?Are the goals and objectives of the project clear? Is it a technology research, development, or deployment project? Can project’s effort be explained to external audiences and non-technical people? What problem are they trying to solve and is the solution strategical or tactical? Is the project strategically or tactically important to OTF’s goals, principles and rationale and other OTF efforts? Is it clear how? What tools, if any, currently exist to solve this problem? How is this project different? Does the effort have any overlap with existing OTF and/or USG supported projects? Is the overlap complementary or duplicative? If complementary, can it be explained clearly? I.e. geographic focus, technology, organization profile, etc. What are the liabilities and risks of taking on this project? I.e. political personalities, financial concerns, technical controversial, etc. Is the organization or its members known within any relevant communities? If yes, what is their reputation and why? What is the entity’s motivation and principles? What are the entity member(s) motivations and principles? Where is the organization physically and legally based? If the organization is distributed, where is the main point of contact? Does the organization have any conflicts of interest with RFA, OTF, the Advisory Council, or other RFA-OTF projects? Is the project team an organization, community or an individual?')
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical merit'), help_text='Does the project clearly articulate the technical problem, solution, and approach? Is the problem clearly justifiable? Does the project clearly articulate the technological objectives? Is it an open or closed development project? I.e. Open source like Android or open source like Firefox OS or closed like iOS. Does a similar technical solution already exist? If so, what are the differentiating factors? Is the effort to sustain an existing technical approach? If so, are these considered successful? Is the effort a new technical approach or improvement to an existing solution? If so, how? Is the effort a completely new technical approach fostering new solutions in the field? Does the project’s technical approach solve the problem? What are the limitations of the project’s technical approach and solution? What are the unintended or illicit uses and consequences of this technology? Has the project identified and/or developed any safeguards for these consequences?')
sustainable
class-attribute
instance-attribute
¶
sustainable = RichTextField(label=gettext_lazy('Reasonable, realistic and sustainable'), help_text='Is the requested amount reasonable, realistic, and justified? If OTF doesn’t support the project, is it likely to be realized? Does the project provide a detailed and realistic description of effort and schedule? I.e. is the project capable of creating a work plan including objectives, activities, and deliverable(s)? Does the project have a clear support model? Is there a known sustainability plan for the future? What in-kind support or other revenue streams is the project receiving? I.e. volunteer developers, service or product sales. Is the project receiving any financial support from the USG? Is this information disclosed? Is the project receiving any other financial support? Is this information disclosed? Are existing supporters approachable? Are they likely aware and/or comfortable with the Intellectual property language within USG contracts?')
comments
class-attribute
instance-attribute
¶
comments = RichTextField(label=gettext_lazy('Other comments'), help_text='')
BaseProposalDeterminationForm
¶
Bases: Form
titles
class-attribute
instance-attribute
¶
titles = {1: 'A. Determination', 2: 'B. General thoughts', 3: 'C. Specific aspects', 4: 'D. Rationale and appropriateness consideration', 5: 'E. General recommendation'}
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
liked
class-attribute
instance-attribute
¶
liked = RichTextField(label=gettext_lazy('Positive aspects'), help_text='Any general or specific aspects that got you really excited or that you like about this proposal.')
concerns
class-attribute
instance-attribute
¶
concerns = RichTextField(label=gettext_lazy('Concerns'), help_text='Any general or specific aspects that concern you or leave you feeling uneasy about this proposal.')
red_flags
class-attribute
instance-attribute
¶
red_flags = RichTextField(label=gettext_lazy('Items that must be addressed'), help_text='Anything you think should be flagged for our attention.')
overview
class-attribute
instance-attribute
¶
overview = RichTextField(label=gettext_lazy('Project overview questions and comments'))
objectives
class-attribute
instance-attribute
¶
objectives = RichTextField(label=gettext_lazy('Objectives questions and comments'))
strategy
class-attribute
instance-attribute
¶
strategy = RichTextField(label=gettext_lazy('Methods and strategy questions and comments'))
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical feasibility questions and comments'))
alternative
class-attribute
instance-attribute
¶
alternative = RichTextField(label=gettext_lazy('Alternative analysis - "red teaming" questions and comments'))
usability
class-attribute
instance-attribute
¶
usability = RichTextField(label=gettext_lazy('Usability questions and comments'))
sustainability
class-attribute
instance-attribute
¶
sustainability = RichTextField(label=gettext_lazy('Sustainability questions and comments'))
collaboration
class-attribute
instance-attribute
¶
collaboration = RichTextField(label=gettext_lazy('Collaboration questions and comments'))
realism
class-attribute
instance-attribute
¶
realism = RichTextField(label=gettext_lazy('Cost realism questions and comments'))
qualifications
class-attribute
instance-attribute
¶
qualifications = RichTextField(label=gettext_lazy('Qualifications questions and comments'))
evaluation
class-attribute
instance-attribute
¶
evaluation = RichTextField(label=gettext_lazy('Evaluation questions and comments'))
rationale
class-attribute
instance-attribute
¶
rationale = RichTextField(label=gettext_lazy('Rationale and appropriateness questions and comments'))
ConceptDeterminationForm
¶
ConceptDeterminationForm(*args, submission, user, edit=False, initial=None, instance=None, **kwargs)
Bases: BaseConceptDeterminationForm
, BaseNormalDeterminationForm
Source code in hypha/apply/determinations/forms.py
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
principles
class-attribute
instance-attribute
¶
principles = RichTextField(label=gettext_lazy('Goals and principles'), help_text='Does the project contribute and/or have relevance to OTF goals and principles?Are the goals and objectives of the project clear? Is it a technology research, development, or deployment project? Can project’s effort be explained to external audiences and non-technical people? What problem are they trying to solve and is the solution strategical or tactical? Is the project strategically or tactically important to OTF’s goals, principles and rationale and other OTF efforts? Is it clear how? What tools, if any, currently exist to solve this problem? How is this project different? Does the effort have any overlap with existing OTF and/or USG supported projects? Is the overlap complementary or duplicative? If complementary, can it be explained clearly? I.e. geographic focus, technology, organization profile, etc. What are the liabilities and risks of taking on this project? I.e. political personalities, financial concerns, technical controversial, etc. Is the organization or its members known within any relevant communities? If yes, what is their reputation and why? What is the entity’s motivation and principles? What are the entity member(s) motivations and principles? Where is the organization physically and legally based? If the organization is distributed, where is the main point of contact? Does the organization have any conflicts of interest with RFA, OTF, the Advisory Council, or other RFA-OTF projects? Is the project team an organization, community or an individual?')
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical merit'), help_text='Does the project clearly articulate the technical problem, solution, and approach? Is the problem clearly justifiable? Does the project clearly articulate the technological objectives? Is it an open or closed development project? I.e. Open source like Android or open source like Firefox OS or closed like iOS. Does a similar technical solution already exist? If so, what are the differentiating factors? Is the effort to sustain an existing technical approach? If so, are these considered successful? Is the effort a new technical approach or improvement to an existing solution? If so, how? Is the effort a completely new technical approach fostering new solutions in the field? Does the project’s technical approach solve the problem? What are the limitations of the project’s technical approach and solution? What are the unintended or illicit uses and consequences of this technology? Has the project identified and/or developed any safeguards for these consequences?')
sustainable
class-attribute
instance-attribute
¶
sustainable = RichTextField(label=gettext_lazy('Reasonable, realistic and sustainable'), help_text='Is the requested amount reasonable, realistic, and justified? If OTF doesn’t support the project, is it likely to be realized? Does the project provide a detailed and realistic description of effort and schedule? I.e. is the project capable of creating a work plan including objectives, activities, and deliverable(s)? Does the project have a clear support model? Is there a known sustainability plan for the future? What in-kind support or other revenue streams is the project receiving? I.e. volunteer developers, service or product sales. Is the project receiving any financial support from the USG? Is this information disclosed? Is the project receiving any other financial support? Is this information disclosed? Are existing supporters approachable? Are they likely aware and/or comfortable with the Intellectual property language within USG contracts?')
comments
class-attribute
instance-attribute
¶
comments = RichTextField(label=gettext_lazy('Other comments'), help_text='')
Meta
¶
data_fields
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
outcome_choices_for_phase
¶
Outcome choices correspond to Phase transitions. We need to filter out non-matching choices. i.e. a transition to In Review is not a determination, while Needs more info or Rejected are.
Source code in hypha/apply/determinations/forms.py
ProposalDeterminationForm
¶
ProposalDeterminationForm(*args, submission, user, edit=False, initial=None, instance=None, **kwargs)
Bases: BaseProposalDeterminationForm
, BaseNormalDeterminationForm
Source code in hypha/apply/determinations/forms.py
titles
class-attribute
instance-attribute
¶
titles = {1: 'A. Determination', 2: 'B. General thoughts', 3: 'C. Specific aspects', 4: 'D. Rationale and appropriateness consideration', 5: 'E. General recommendation'}
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
liked
class-attribute
instance-attribute
¶
liked = RichTextField(label=gettext_lazy('Positive aspects'), help_text='Any general or specific aspects that got you really excited or that you like about this proposal.')
concerns
class-attribute
instance-attribute
¶
concerns = RichTextField(label=gettext_lazy('Concerns'), help_text='Any general or specific aspects that concern you or leave you feeling uneasy about this proposal.')
red_flags
class-attribute
instance-attribute
¶
red_flags = RichTextField(label=gettext_lazy('Items that must be addressed'), help_text='Anything you think should be flagged for our attention.')
overview
class-attribute
instance-attribute
¶
overview = RichTextField(label=gettext_lazy('Project overview questions and comments'))
objectives
class-attribute
instance-attribute
¶
objectives = RichTextField(label=gettext_lazy('Objectives questions and comments'))
strategy
class-attribute
instance-attribute
¶
strategy = RichTextField(label=gettext_lazy('Methods and strategy questions and comments'))
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical feasibility questions and comments'))
alternative
class-attribute
instance-attribute
¶
alternative = RichTextField(label=gettext_lazy('Alternative analysis - "red teaming" questions and comments'))
usability
class-attribute
instance-attribute
¶
usability = RichTextField(label=gettext_lazy('Usability questions and comments'))
sustainability
class-attribute
instance-attribute
¶
sustainability = RichTextField(label=gettext_lazy('Sustainability questions and comments'))
collaboration
class-attribute
instance-attribute
¶
collaboration = RichTextField(label=gettext_lazy('Collaboration questions and comments'))
realism
class-attribute
instance-attribute
¶
realism = RichTextField(label=gettext_lazy('Cost realism questions and comments'))
qualifications
class-attribute
instance-attribute
¶
qualifications = RichTextField(label=gettext_lazy('Qualifications questions and comments'))
evaluation
class-attribute
instance-attribute
¶
evaluation = RichTextField(label=gettext_lazy('Evaluation questions and comments'))
rationale
class-attribute
instance-attribute
¶
rationale = RichTextField(label=gettext_lazy('Rationale and appropriateness questions and comments'))
Meta
¶
data_fields
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
outcome_choices_for_phase
¶
Outcome choices correspond to Phase transitions. We need to filter out non-matching choices. i.e. a transition to In Review is not a determination, while Needs more info or Rejected are.
Source code in hypha/apply/determinations/forms.py
BatchConceptDeterminationForm
¶
Bases: BaseConceptDeterminationForm
, BaseBatchDeterminationForm
Source code in hypha/apply/determinations/forms.py
submissions
class-attribute
instance-attribute
¶
author
class-attribute
instance-attribute
¶
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
principles
class-attribute
instance-attribute
¶
principles = RichTextField(label=gettext_lazy('Goals and principles'), help_text='Does the project contribute and/or have relevance to OTF goals and principles?Are the goals and objectives of the project clear? Is it a technology research, development, or deployment project? Can project’s effort be explained to external audiences and non-technical people? What problem are they trying to solve and is the solution strategical or tactical? Is the project strategically or tactically important to OTF’s goals, principles and rationale and other OTF efforts? Is it clear how? What tools, if any, currently exist to solve this problem? How is this project different? Does the effort have any overlap with existing OTF and/or USG supported projects? Is the overlap complementary or duplicative? If complementary, can it be explained clearly? I.e. geographic focus, technology, organization profile, etc. What are the liabilities and risks of taking on this project? I.e. political personalities, financial concerns, technical controversial, etc. Is the organization or its members known within any relevant communities? If yes, what is their reputation and why? What is the entity’s motivation and principles? What are the entity member(s) motivations and principles? Where is the organization physically and legally based? If the organization is distributed, where is the main point of contact? Does the organization have any conflicts of interest with RFA, OTF, the Advisory Council, or other RFA-OTF projects? Is the project team an organization, community or an individual?')
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical merit'), help_text='Does the project clearly articulate the technical problem, solution, and approach? Is the problem clearly justifiable? Does the project clearly articulate the technological objectives? Is it an open or closed development project? I.e. Open source like Android or open source like Firefox OS or closed like iOS. Does a similar technical solution already exist? If so, what are the differentiating factors? Is the effort to sustain an existing technical approach? If so, are these considered successful? Is the effort a new technical approach or improvement to an existing solution? If so, how? Is the effort a completely new technical approach fostering new solutions in the field? Does the project’s technical approach solve the problem? What are the limitations of the project’s technical approach and solution? What are the unintended or illicit uses and consequences of this technology? Has the project identified and/or developed any safeguards for these consequences?')
sustainable
class-attribute
instance-attribute
¶
sustainable = RichTextField(label=gettext_lazy('Reasonable, realistic and sustainable'), help_text='Is the requested amount reasonable, realistic, and justified? If OTF doesn’t support the project, is it likely to be realized? Does the project provide a detailed and realistic description of effort and schedule? I.e. is the project capable of creating a work plan including objectives, activities, and deliverable(s)? Does the project have a clear support model? Is there a known sustainability plan for the future? What in-kind support or other revenue streams is the project receiving? I.e. volunteer developers, service or product sales. Is the project receiving any financial support from the USG? Is this information disclosed? Is the project receiving any other financial support? Is this information disclosed? Are existing supporters approachable? Are they likely aware and/or comfortable with the Intellectual property language within USG contracts?')
comments
class-attribute
instance-attribute
¶
comments = RichTextField(label=gettext_lazy('Other comments'), help_text='')
data_fields
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
BatchProposalDeterminationForm
¶
Bases: BaseProposalDeterminationForm
, BaseBatchDeterminationForm
Source code in hypha/apply/determinations/forms.py
submissions
class-attribute
instance-attribute
¶
author
class-attribute
instance-attribute
¶
titles
class-attribute
instance-attribute
¶
titles = {1: 'A. Determination', 2: 'B. General thoughts', 3: 'C. Specific aspects', 4: 'D. Rationale and appropriateness consideration', 5: 'E. General recommendation'}
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?')
message
class-attribute
instance-attribute
¶
message = RichTextField(label=gettext_lazy('Determination message'), help_text='This text will be e-mailed to the applicant. Ones when text is first added and then every time the text is changed.')
liked
class-attribute
instance-attribute
¶
liked = RichTextField(label=gettext_lazy('Positive aspects'), help_text='Any general or specific aspects that got you really excited or that you like about this proposal.')
concerns
class-attribute
instance-attribute
¶
concerns = RichTextField(label=gettext_lazy('Concerns'), help_text='Any general or specific aspects that concern you or leave you feeling uneasy about this proposal.')
red_flags
class-attribute
instance-attribute
¶
red_flags = RichTextField(label=gettext_lazy('Items that must be addressed'), help_text='Anything you think should be flagged for our attention.')
overview
class-attribute
instance-attribute
¶
overview = RichTextField(label=gettext_lazy('Project overview questions and comments'))
objectives
class-attribute
instance-attribute
¶
objectives = RichTextField(label=gettext_lazy('Objectives questions and comments'))
strategy
class-attribute
instance-attribute
¶
strategy = RichTextField(label=gettext_lazy('Methods and strategy questions and comments'))
technical
class-attribute
instance-attribute
¶
technical = RichTextField(label=gettext_lazy('Technical feasibility questions and comments'))
alternative
class-attribute
instance-attribute
¶
alternative = RichTextField(label=gettext_lazy('Alternative analysis - "red teaming" questions and comments'))
usability
class-attribute
instance-attribute
¶
usability = RichTextField(label=gettext_lazy('Usability questions and comments'))
sustainability
class-attribute
instance-attribute
¶
sustainability = RichTextField(label=gettext_lazy('Sustainability questions and comments'))
collaboration
class-attribute
instance-attribute
¶
collaboration = RichTextField(label=gettext_lazy('Collaboration questions and comments'))
realism
class-attribute
instance-attribute
¶
realism = RichTextField(label=gettext_lazy('Cost realism questions and comments'))
qualifications
class-attribute
instance-attribute
¶
qualifications = RichTextField(label=gettext_lazy('Qualifications questions and comments'))
evaluation
class-attribute
instance-attribute
¶
evaluation = RichTextField(label=gettext_lazy('Evaluation questions and comments'))
rationale
class-attribute
instance-attribute
¶
rationale = RichTextField(label=gettext_lazy('Rationale and appropriateness questions and comments'))
data_fields
¶
clean_outcome
¶
clean
¶
apply_form_settings
¶
Source code in hypha/apply/determinations/forms.py
get_detailed_response
classmethod
¶
Source code in hypha/apply/determinations/forms.py
MixedMetaClass
¶
Bases: type(StreamBaseForm)
, type(ModelForm)
DeterminationModelForm
¶
DeterminationModelForm(*args, submission, action, user=None, edit=False, initial=None, instance=None, site=None, **kwargs)
Bases: StreamBaseForm
, ModelForm
Source code in hypha/apply/determinations/forms.py
Meta
¶
fields
class-attribute
instance-attribute
¶
widgets
class-attribute
instance-attribute
¶
widgets = {'outcome': HiddenInput(), 'message': HiddenInput(), 'submission': HiddenInput(), 'author': HiddenInput(), 'send_notice': HiddenInput()}
error_messages
class-attribute
instance-attribute
¶
error_messages = {NON_FIELD_ERRORS: {'unique_together': 'You have already created a determination for this submission'}}
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.
Source code in hypha/apply/stream_forms/forms.py
clean
¶
save
¶
Source code in hypha/apply/determinations/forms.py
FormMixedMetaClass
¶
Bases: type(StreamBaseForm)
, type(Form)
BatchDeterminationForm
¶
BatchDeterminationForm(*args, user, submissions, action, initial=None, edit=False, site=None, **kwargs)
Bases: StreamBaseForm
, Form
Source code in hypha/apply/determinations/forms.py
submissions
class-attribute
instance-attribute
¶
author
class-attribute
instance-attribute
¶
outcome
class-attribute
instance-attribute
¶
outcome = ChoiceField(choices=DETERMINATION_CHOICES, label=gettext_lazy('Determination'), help_text='Do you recommend requesting a proposal based on this concept note?', widget=HiddenInput())
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.