Project
hypha.apply.projects.views.project
¶
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 |
|
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
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
RemoveContractDocumentView
¶
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
¶
dispatch
¶
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
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
ContractsMixin
¶
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
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
SubmitContractDocumentsView
¶
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
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
form_valid
¶
Source code in hypha/apply/projects/views/project.py
UploadContractDocumentView
¶
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
¶
dispatch
¶
form_valid
¶
Source code in hypha/apply/projects/views/project.py
ChangePAFStatusView
¶
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
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
form_valid
¶
Source code in hypha/apply/projects/views/project.py
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 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 |
|
ChangeProjectstatusView
¶
Bases: DelegatedViewMixin
, UpdateView
Project status can be updated manually only in 'IN PROGRESS, CLOSING and COMPLETE' state.
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
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
form_valid
¶
Source code in hypha/apply/projects/views/project.py
UpdateAssignApproversView
¶
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
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
form_valid
¶
Source code in hypha/apply/projects/views/project.py
UpdatePAFApproversView
¶
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
¶
dispatch
¶
Source code in hypha/apply/projects/views/project.py
form_valid
¶
Source code in hypha/apply/projects/views/project.py
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 |
|
BaseProjectDetailView
¶
Bases: ReportingMixin
, DetailView
dispatch
¶
get_context_data
¶
Source code in hypha/apply/projects/views/project.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
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
ProjectPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
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
ContractPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
ContractDocumentPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
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
ProjectSOWView
¶
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
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
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 |
|
ProjectListView
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
ProjectOverviewView
¶
Bases: TemplateView