Views
hypha.apply.determinations.views
¶
BatchDeterminationCreateView
¶
Bases: BaseStreamForm
, CreateView
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
submission_form_class
class-attribute
instance-attribute
¶
submission_form_class = BatchDeterminationForm
template_name
class-attribute
instance-attribute
¶
from_db
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
deserialize_form_data
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
get_form_fields
¶
Source code in hypha/apply/stream_forms/models.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
|
dispatch
¶
Source code in hypha/apply/determinations/views.py
get_action
¶
get_submissions
¶
Source code in hypha/apply/determinations/views.py
get_form_kwargs
¶
Source code in hypha/apply/determinations/views.py
check_all_submissions_are_of_same_type
¶
Checks if all the submission as the new determination form attached to it.
Or all should be using the old determination forms.
We can not create batch determination with submissions using two different type of forms.
Source code in hypha/apply/determinations/views.py
get_form_class
¶
Source code in hypha/apply/determinations/views.py
get_defined_fields
¶
get_context_data
¶
Source code in hypha/apply/determinations/views.py
form_valid
¶
Source code in hypha/apply/determinations/views.py
should_redirect
classmethod
¶
Source code in hypha/apply/determinations/views.py
DeterminationCreateOrUpdateView
¶
Bases: BaseStreamForm
, CreateOrUpdateView
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
submission_form_class
class-attribute
instance-attribute
¶
submission_form_class = DeterminationModelForm
template_name
class-attribute
instance-attribute
¶
get
¶
post
¶
from_db
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
deserialize_form_data
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
get_form_fields
¶
Source code in hypha/apply/stream_forms/models.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
|
get_object
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
back_to_submission
¶
back_to_detail
¶
get_context_data
¶
Source code in hypha/apply/determinations/views.py
get_defined_fields
¶
get_form_kwargs
¶
Source code in hypha/apply/determinations/views.py
get_form_class
¶
Source code in hypha/apply/determinations/views.py
add_proposal_form_field
¶
Source code in hypha/apply/determinations/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/determinations/views.py
should_redirect
classmethod
¶
Source code in hypha/apply/determinations/views.py
AdminDeterminationDetailView
¶
Bases: DetailView
get_object
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
ReviewerDeterminationDetailView
¶
Bases: DetailView
get_object
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
PartnerDeterminationDetailView
¶
Bases: DetailView
get_queryset
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
CommunityDeterminationDetailView
¶
Bases: DetailView
get_queryset
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
ApplicantDeterminationDetailView
¶
Bases: DetailView
get_object
¶
dispatch
¶
Source code in hypha/apply/determinations/views.py
DeterminationDetailView
¶
Bases: ViewDispatcher
community_view
class-attribute
instance-attribute
¶
community_view = CommunityDeterminationDetailView
applicant_view
class-attribute
instance-attribute
¶
applicant_view = ApplicantDeterminationDetailView
admin_check
¶
reviewer_check
¶
partner_check
¶
community_check
¶
finance_check
¶
contracting_check
¶
applicant_check
¶
dispatch
¶
Source code in hypha/apply/utils/views.py
DeterminationEditView
¶
Bases: BaseStreamForm
, UpdateView
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
submission_form_class
class-attribute
instance-attribute
¶
submission_form_class = DeterminationModelForm
template_name
class-attribute
instance-attribute
¶
from_db
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
deserialize_form_data
classmethod
¶
Source code in hypha/apply/stream_forms/models.py
get_form_fields
¶
Source code in hypha/apply/stream_forms/models.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
|
get_context_data
¶
Source code in hypha/apply/determinations/views.py
get_defined_fields
¶
get_form_kwargs
¶
Source code in hypha/apply/determinations/views.py
get_form_class
¶
Source code in hypha/apply/determinations/views.py
form_valid
¶
Source code in hypha/apply/determinations/views.py
get_form_for_stages
¶
Source code in hypha/apply/determinations/views.py
get_form_for_stage
¶
Source code in hypha/apply/determinations/views.py
get_fields_for_stages
¶
Source code in hypha/apply/determinations/views.py
get_fields_for_stage
¶
Source code in hypha/apply/determinations/views.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.