Index
hypha.apply.projects.views
¶
ChangeInvoiceStatusView
¶
Bases: DelegatedViewMixin
, InvoiceAccessMixin
, UpdateView
template
class-attribute
instance-attribute
¶
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
¶
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
get_success_url
¶
dispatch
¶
get_context_data
¶
Source code in hypha/apply/projects/views/payment.py
form_valid
¶
Source code in hypha/apply/projects/views/payment.py
get
¶
post
¶
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
post
¶
InvoicePrivateMedia
¶
Bases: UserPassesTestMixin
, PrivateMediaView
get
¶
dispatch
¶
Source code in hypha/apply/projects/views/payment.py
get_media
¶
Source code in hypha/apply/projects/views/payment.py
test_func
¶
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 = [CommentFormView, SelectDocumentView, ReportFrequencyUpdate, UpdateLeadView, UpdateProjectTitleView, 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
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: View
template_name
class-attribute
instance-attribute
¶
get_object
¶
dispatch
¶
get_form_kwargs
¶
get
¶
post
¶
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
ChangePAFStatusView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Source code in hypha/apply/projects/views/project.py
1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 |
|
ContractDocumentPrivateMediaView
¶
Bases: PrivateMediaView
get
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
ContractPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
ProjectDetailApprovalView
¶
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
ProjectFormEditView
¶
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_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
2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 |
|
ProjectListView
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
ProjectPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
See also hypha/apply/funds/files.py
get
¶
dispatch
¶
get_media
¶
Source code in hypha/apply/projects/views/project.py
test_func
¶
Source code in hypha/apply/projects/views/project.py
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
¶
RemoveContractDocumentView
¶
Bases: View
dispatch
¶
Source code in hypha/apply/projects/views/project.py
delete
¶
Source code in hypha/apply/projects/views/project.py
RemoveDocumentView
¶
Bases: View
delete
¶
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: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Source code in hypha/apply/projects/views/project.py
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 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 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 |
|
SkipPAFApprovalProcessView
¶
Bases: UpdateView
dispatch
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
SubmitContractDocumentsView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
post
¶
Source code in hypha/apply/projects/views/project.py
UpdateAssignApproversView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Source code in hypha/apply/projects/views/project.py
1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 |
|
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
UpdatePAFApproversView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Source code in hypha/apply/projects/views/project.py
1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 |
|
UploadContractDocumentView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
Source code in hypha/apply/projects/views/project.py
UploadContractView
¶
Bases: View
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
get_form_kwargs
¶
get_form
¶
post
¶
Source code in hypha/apply/projects/views/project.py
678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 |
|
UploadDocumentView
¶
Bases: CreateView
template_name
class-attribute
instance-attribute
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
get
¶
Source code in hypha/apply/projects/views/project.py
post
¶
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
ReportingView
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
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: BaseStreamForm
, UpdateView
submission_form_class
class-attribute
instance-attribute
¶
submission_form_class = PageStreamBaseForm
wagtail_reference_index_ignore
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_defined_fields
¶
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_form_class
¶
Expects self.form_fields to have already been set.
Source code in hypha/apply/projects/views/report.py
dispatch
¶
Source code in hypha/apply/projects/views/report.py
get_context_data
¶
Django note: super().dispatch calls get_context_data.
Source code in hypha/apply/projects/views/report.py
get_form
¶
Source code in hypha/apply/projects/views/report.py
get_initial
¶
Source code in hypha/apply/projects/views/report.py
get_form_kwargs
¶
post
¶
Source code in hypha/apply/projects/views/report.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/projects/views/report.py
get_invoices_status_counts
¶
Source code in hypha/apply/projects/views/project_partials.py
get_project_status_counts
¶
Source code in hypha/apply/projects/views/project_partials.py
partial_contracting_documents
¶
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_detail_actions
¶
Partial to get the actions for the invoice detail view
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –ID of the associated project
-
invoice_pk
(int
) –ID of the invoice to retrieve the status of
Returns:
-
–
HttpResponse containing the status line of requested invoice
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_status
¶
Partial to get the invoice status for invoice detail view
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –ID of the associated project
-
invoice_pk
(int
) –ID of the invoice to retrieve the status of
Returns:
-
–
HttpResponse containing the status line of requested invoice
Source code in hypha/apply/projects/views/project_partials.py
partial_get_invoice_status_table
¶
Partial to get the invoice status table
Parameters:
-
request
(HttpRequest
) –request used to retrieve partial
-
pk
(int
) –PK of the project to retrieve invoices for
-
rejected
(Optional[bool]
, default:False
) –retrieve rejected invoices, by default only retrieves not rejected invoices
Returns:
-
–
HttpResponse containing the table of requested invoices