Index
hypha.apply.projects.views
¶
ChangeInvoiceStatusView
¶
Bases: DelegatedViewMixin
, InvoiceAccessMixin
, UpdateView
get_object
¶
Source code in hypha/apply/utils/views.py
test_func
¶
setup
¶
get_template_names
¶
get_form_name
¶
get_form_kwargs
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/payment.py
CreateInvoiceView
¶
Bases: CreateView
dispatch
¶
Source code in hypha/apply/projects/views/payment.py
buttons
¶
get_context_data
¶
form_valid
¶
Source code in hypha/apply/projects/views/payment.py
DeleteInvoiceView
¶
Bases: DeleteView
get_object
¶
dispatch
¶
form_valid
¶
Source code in hypha/apply/projects/views/payment.py
EditInvoiceView
¶
Bases: InvoiceAccessMixin
, UpdateView
get_object
¶
test_func
¶
dispatch
¶
buttons
¶
get_initial
¶
get_context_data
¶
post
¶
Source code in hypha/apply/projects/views/payment.py
form_valid
¶
Source code in hypha/apply/projects/views/payment.py
InvoiceListView
¶
Bases: SingleTableMixin
, FilterView
, DelegateableListView
Source code in hypha/apply/utils/views.py
template_name
class-attribute
instance-attribute
¶
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
InvoicePrivateMedia
¶
Bases: UserPassesTestMixin
, PrivateMediaView
InvoiceView
¶
Bases: ViewDispatcher
admin_check
¶
reviewer_check
¶
partner_check
¶
community_check
¶
finance_check
¶
contracting_check
¶
applicant_check
¶
dispatch
¶
Source code in hypha/apply/utils/views.py
AdminProjectDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, ContractsMixin
, BaseProjectDetailView
Source code in hypha/apply/utils/views.py
form_views
class-attribute
instance-attribute
¶
form_views = [ApproveContractView, CommentFormView, RemoveDocumentView, SelectDocumentView, SendForApprovalView, UpdatePAFApproversView, ReportFrequencyUpdate, UpdateLeadView, UploadContractView, UploadDocumentView, UpdateAssignApproversView, ChangePAFStatusView, ChangeProjectstatusView, ChangeInvoiceStatusView]
get_form_kwargs
¶
post
¶
dispatch
¶
get_context_data
¶
Source code in hypha/apply/projects/views/project.py
ApplicantProjectDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, ContractsMixin
, BaseProjectDetailView
Source code in hypha/apply/utils/views.py
form_views
class-attribute
instance-attribute
¶
form_views = [CommentFormView, SelectDocumentView, UploadContractView, UploadDocumentView, UploadContractDocumentView, RemoveContractDocumentView, SubmitContractDocumentsView]
get_form_kwargs
¶
post
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get_context_data
¶
Source code in hypha/apply/projects/views/project.py
ApproveContractView
¶
Bases: DelegatedViewMixin
, UpdateView
setup
¶
get_template_names
¶
get_form_name
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_object
¶
get_form_kwargs
¶
dispatch
¶
form_invalid
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
BaseProjectDetailView
¶
Bases: ReportingMixin
, DetailView
dispatch
¶
get_context_data
¶
Source code in hypha/apply/projects/views/project.py
CategoryTemplatePrivateMediaView
¶
Bases: PrivateMediaView
get
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get_media
¶
Source code in hypha/apply/projects/views/project.py
ContractDocumentPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
ContractPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
ProjectApprovalFormEditView
¶
Bases: BaseStreamForm
, UpdateView
submission_form_class
class-attribute
instance-attribute
¶
submission_form_class = PageStreamBaseForm
wagtail_reference_index_ignore
class-attribute
instance-attribute
¶
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 |
|
buttons
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
approval_form
¶
Source code in hypha/apply/projects/views/project.py
approval_sow_form
¶
Source code in hypha/apply/projects/views/project.py
get_form_class
¶
get_paf_form
¶
get_sow_form
¶
get_context_data
¶
Source code in hypha/apply/projects/views/project.py
get_paf_form_fields
¶
get_sow_form_fields
¶
get_defined_fields
¶
Source code in hypha/apply/projects/views/project.py
get_paf_form_kwargs
¶
Source code in hypha/apply/projects/views/project.py
get_placeholder_file
¶
Source code in hypha/apply/projects/views/project.py
get_sow_form_kwargs
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Handle POST requests: instantiate a form instance with the passed POST variables and then check if it's valid.
Source code in hypha/apply/projects/views/project.py
1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 |
|
ProjectDetailApprovalView
¶
Bases: DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
form_views
class-attribute
instance-attribute
¶
form_views = [ChangePAFStatusView, UpdateAssignApproversView]
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
ProjectDetailDownloadView
¶
Bases: SingleObjectMixin
, View
get
¶
Source code in hypha/apply/projects/views/project.py
render_as_pdf
¶
Source code in hypha/apply/projects/views/project.py
render_as_docx
¶
Source code in hypha/apply/projects/views/project.py
get_slugified_file_name
¶
get_paf_download_context
¶
Source code in hypha/apply/projects/views/project.py
get_paf_data_with_field
¶
Source code in hypha/apply/projects/views/project.py
get_sow_data_with_field
¶
Source code in hypha/apply/projects/views/project.py
get_supporting_documents
¶
Source code in hypha/apply/projects/views/project.py
ProjectDetailView
¶
Bases: ViewDispatcher
admin_check
¶
reviewer_check
¶
partner_check
¶
community_check
¶
finance_check
¶
contracting_check
¶
applicant_check
¶
dispatch
¶
Source code in hypha/apply/utils/views.py
ProjectListView
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
ProjectOverviewView
¶
Bases: TemplateView
template_name
class-attribute
instance-attribute
¶
get_context_data
¶
Source code in hypha/apply/projects/views/project.py
get_reports
¶
Source code in hypha/apply/projects/views/project.py
get_projects
¶
Source code in hypha/apply/projects/views/project.py
get_invoices
¶
Source code in hypha/apply/projects/views/project.py
get_status_counts
¶
Source code in hypha/apply/projects/views/project.py
ProjectPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
ProjectSOWDownloadView
¶
Bases: SingleObjectMixin
, View
get
¶
Source code in hypha/apply/projects/views/project.py
render_as_pdf
¶
Source code in hypha/apply/projects/views/project.py
render_as_docx
¶
Source code in hypha/apply/projects/views/project.py
get_slugified_file_name
¶
get_sow_data_with_field
¶
Source code in hypha/apply/projects/views/project.py
ProjectSOWView
¶
RemoveDocumentView
¶
Bases: DelegatedViewMixin
, FormView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_form_kwargs
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
SelectDocumentView
¶
Bases: DelegatedViewMixin
, CreateView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
dispatch
¶
form_invalid
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
SendForApprovalView
¶
Bases: DelegatedViewMixin
, UpdateView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_form_kwargs
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
|
UpdateLeadView
¶
Bases: DelegatedViewMixin
, UpdateView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_form_kwargs
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
UploadContractView
¶
Bases: DelegatedViewMixin
, CreateView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
dispatch
¶
get_form_kwargs
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
UploadDocumentView
¶
Bases: DelegatedViewMixin
, CreateView
setup
¶
get_object
¶
Source code in hypha/apply/utils/views.py
get_template_names
¶
get_form_name
¶
get_form_kwargs
¶
get_parent_kwargs
¶
get_parent_object
¶
get_form
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
ReportFrequencyUpdate
¶
Bases: DelegatedViewMixin
, UpdateView
setup
¶
get_template_names
¶
get_form_name
¶
get_parent_kwargs
¶
get_parent_object
¶
get_context_data
¶
Source code in hypha/apply/utils/views.py
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
get_form_kwargs
¶
Source code in hypha/apply/projects/views/report.py
get_object
¶
get_form
¶
form_valid
¶
Source code in hypha/apply/projects/views/report.py
ReportListView
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
ReportPrivateMedia
¶
Bases: ReportAccessMixin
, PrivateMediaView
get
¶
test_func
¶
dispatch
¶
Source code in hypha/apply/projects/views/report.py
ReportSkipView
¶
Bases: SingleObjectMixin
, View
post
¶
Source code in hypha/apply/projects/views/report.py
ReportUpdateView
¶
Bases: UpdateView
dispatch
¶
get_initial
¶
Source code in hypha/apply/projects/views/report.py
get_form_kwargs
¶
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/report.py
CreateVendorView
¶
Bases: CreateVendorAccessMixin
, SessionWizardView
form_list
class-attribute
instance-attribute
¶
form_list = [('basic', CreateVendorFormStep1), ('taxes', CreateVendorFormStep2), ('documents', CreateVendorFormStep3), ('bank', CreateVendorFormStep4), ('extra', CreateVendorFormStep5), ('other', CreateVendorFormStep6)]
condition_dict
class-attribute
instance-attribute
¶
condition_dict = {'other': show_extra_info_form}
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/vendor.py
get_project
¶
done
¶
Source code in hypha/apply/projects/views/vendor.py
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 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
|
get_form_initial
¶
Source code in hypha/apply/projects/views/vendor.py
VendorDetailView
¶
Bases: DetailVendorAccessMixin
, DetailView
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/vendor.py
get_object
¶
get_context_data
¶
Source code in hypha/apply/projects/views/vendor.py
get_project
¶
get_detailed_response
¶
Source code in hypha/apply/projects/views/vendor.py
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
|
get_address_display
¶
Source code in hypha/apply/projects/views/vendor.py
VendorPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView