Views
hypha.apply.funds.views
¶
SubmissionStatsMixin
¶
get_context_data
¶
Source code in hypha/apply/funds/views.py
BaseAdminSubmissionsTable
¶
BatchUpdateLeadView
¶
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/funds/views.py
BatchUpdateReviewersView
¶
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/funds/views.py
BatchDeleteSubmissionView
¶
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
¶
BatchArchiveSubmissionView
¶
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/funds/views.py
BatchProgressSubmissionView
¶
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/funds/views.py
BaseReviewerSubmissionsTable
¶
Bases: BaseAdminSubmissionsTable
excluded_fields
class-attribute
instance-attribute
¶
filterset_class
class-attribute
instance-attribute
¶
filterset_class = SubmissionReviewerFilterAndSearch
get_table_kwargs
¶
get_filterset_kwargs
¶
get_context_data
¶
get_queryset
¶
If use_settings variable is set for ReviewerSettings use settings parameters to filter submissions or return only reviewed_by as it was by default.
Source code in hypha/apply/funds/views.py
AwaitingReviewSubmissionsListView
¶
SubmissionOverviewView
¶
Bases: BaseAdminSubmissionsTable
excluded_fields
class-attribute
instance-attribute
¶
template_name
class-attribute
instance-attribute
¶
filter_action
class-attribute
instance-attribute
¶
search_action
class-attribute
instance-attribute
¶
get_table_kwargs
¶
get_filterset_kwargs
¶
get_queryset
¶
Source code in hypha/apply/funds/views.py
get_table_data
¶
get_context_data
¶
Source code in hypha/apply/funds/views.py
get_staff_flagged
¶
Source code in hypha/apply/funds/views.py
SubmissionAdminListView
¶
Bases: BaseAdminSubmissionsTable
, DelegateableListView
Source code in hypha/apply/utils/views.py
excluded_fields
class-attribute
instance-attribute
¶
form_views
class-attribute
instance-attribute
¶
form_views = [BatchUpdateLeadView, BatchUpdateReviewersView, BatchProgressSubmissionView, BatchDeleteSubmissionView, BatchArchiveSubmissionView]
get_form_kwargs
¶
post
¶
get_table_kwargs
¶
get_filterset_kwargs
¶
Source code in hypha/apply/funds/views.py
get_queryset
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
Source code in hypha/apply/funds/views.py
GroupingApplicationsListView
¶
Bases: TemplateView
Template view for grouped submissions
template_name
class-attribute
instance-attribute
¶
SubmissionReviewerListView
¶
Bases: BaseReviewerSubmissionsTable
filterset_class
class-attribute
instance-attribute
¶
filterset_class = SubmissionReviewerFilterAndSearch
excluded_fields
class-attribute
instance-attribute
¶
get_table_kwargs
¶
get_filterset_kwargs
¶
get_queryset
¶
If use_settings variable is set for ReviewerSettings use settings parameters to filter submissions or return only reviewed_by as it was by default.
Source code in hypha/apply/funds/views.py
get_context_data
¶
SubmissionListView
¶
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
SubmissionStaffFlaggedView
¶
SubmissionUserFlaggedView
¶
ExportSubmissionsByRound
¶
Bases: UserPassesTestMixin
, BaseAdminSubmissionsTable
excluded_fields
class-attribute
instance-attribute
¶
get_table_kwargs
¶
get_filterset_kwargs
¶
get_context_data
¶
export_submissions
¶
Source code in hypha/apply/funds/views.py
get_queryset
¶
Source code in hypha/apply/funds/views.py
get
¶
Source code in hypha/apply/funds/views.py
SubmissionsByRound
¶
Bases: BaseAdminSubmissionsTable
, DelegateableListView
Source code in hypha/apply/utils/views.py
template_name
class-attribute
instance-attribute
¶
form_views
class-attribute
instance-attribute
¶
form_views = [BatchUpdateLeadView, BatchUpdateReviewersView, BatchProgressSubmissionView, BatchDeleteSubmissionView, BatchArchiveSubmissionView]
excluded_fields
class-attribute
instance-attribute
¶
post
¶
get_table_kwargs
¶
get_filterset_kwargs
¶
get_form_kwargs
¶
get_queryset
¶
Source code in hypha/apply/funds/views.py
SubmissionsByStatus
¶
Bases: BaseAdminSubmissionsTable
, DelegateableListView
Source code in hypha/apply/utils/views.py
excluded_fields
class-attribute
instance-attribute
¶
template_name
class-attribute
instance-attribute
¶
form_views
class-attribute
instance-attribute
¶
form_views = [BatchUpdateLeadView, BatchUpdateReviewersView, BatchProgressSubmissionView, BatchDeleteSubmissionView, BatchArchiveSubmissionView]
get_form_kwargs
¶
post
¶
get_table_kwargs
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
get_filterset_kwargs
¶
get_queryset
¶
ProgressSubmissionView
¶
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/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
CreateProjectView
¶
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
¶
is_model_form
classmethod
¶
contribute_form
¶
Source code in hypha/apply/utils/views.py
dispatch
¶
Source code in hypha/apply/funds/views.py
get_success_url
¶
form_valid
¶
Source code in hypha/apply/funds/views.py
ScreeningSubmissionView
¶
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/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
UnarchiveSubmissionView
¶
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
form_valid
¶
Source code in hypha/apply/funds/views.py
ArchiveSubmissionView
¶
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
form_valid
¶
Source code in hypha/apply/funds/views.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
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
UpdateReviewersView
¶
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/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
UpdatePartnersView
¶
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/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
UpdateMetaTermsView
¶
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/funds/views.py
ReminderCreateView
¶
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
¶
Source code in hypha/apply/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
ReminderDeleteView
¶
AdminSubmissionDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
form_views
class-attribute
instance-attribute
¶
form_views = [ArchiveSubmissionView, ProgressSubmissionView, ScreeningSubmissionView, ReminderCreateView, CommentFormView, UpdateLeadView, UpdateReviewersView, UpdatePartnersView, CreateProjectView, UpdateMetaTermsView, UnarchiveSubmissionView]
get_form_kwargs
¶
post
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
Source code in hypha/apply/funds/views.py
ReviewerSubmissionDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/activity/views.py
post
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
PartnerSubmissionDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/activity/views.py
post
¶
get_object
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
CommunitySubmissionDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
template_name_suffix
class-attribute
instance-attribute
¶
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/activity/views.py
post
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
ApplicantSubmissionDetailView
¶
Bases: ActivityContextMixin
, DelegateableView
, DetailView
Source code in hypha/apply/utils/views.py
get_form_kwargs
¶
get_context_data
¶
Source code in hypha/apply/activity/views.py
post
¶
get_object
¶
dispatch
¶
Source code in hypha/apply/funds/views.py
SubmissionDetailView
¶
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
SubmissionSealedView
¶
Bases: DetailView
get
¶
post
¶
redirect_detail
¶
peeked
¶
Source code in hypha/apply/funds/views.py
can_view_sealed
¶
get_context_data
¶
round_is_sealed
classmethod
¶
has_peeked
classmethod
¶
should_redirect
classmethod
¶
Source code in hypha/apply/funds/views.py
BaseSubmissionEditView
¶
Bases: UpdateView
Converts the data held on the submission into an editable format and knows how to save that back to the object. Shortcuts the normal update view save approach
dispatch
¶
Source code in hypha/apply/funds/views.py
buttons
¶
Source code in hypha/apply/funds/views.py
get_form_kwargs
¶
Returns the keyword arguments for instantiating the form.
This method is called by the form mixin during form instantiation. It returns a dictionary of keyword arguments that will be passed to the form's constructor.
Returns:
-
dict
–A dictionary of keyword arguments for the form constructor.
Source code in hypha/apply/funds/views.py
get_placeholder_file
¶
Source code in hypha/apply/funds/views.py
save_draft_and_refresh_page
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
get_form_class
¶
Returns the form class for the view.
This method is called by the view during form instantiation. It returns the form class that will be used to render the form.
When trying to save as draft, this method will return a version of form class that doesn't validate required fields while saving.
The method also disables any group toggle fields in the form, as they are not supported on edit forms.
Returns:
-
class
–The form class for the view.
Source code in hypha/apply/funds/views.py
AdminSubmissionEditView
¶
Bases: BaseSubmissionEditView
dispatch
¶
Source code in hypha/apply/funds/views.py
buttons
¶
Source code in hypha/apply/funds/views.py
get_form_kwargs
¶
Returns the keyword arguments for instantiating the form.
This method is called by the form mixin during form instantiation. It returns a dictionary of keyword arguments that will be passed to the form's constructor.
Returns:
-
dict
–A dictionary of keyword arguments for the form constructor.
Source code in hypha/apply/funds/views.py
get_placeholder_file
¶
Source code in hypha/apply/funds/views.py
save_draft_and_refresh_page
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
get_form_class
¶
Returns the form class for the view.
This method is called by the view during form instantiation. It returns the form class that will be used to render the form.
When trying to save as draft, this method will return a version of form class that doesn't validate required fields while saving.
The method also disables any group toggle fields in the form, as they are not supported on edit forms.
Returns:
-
class
–The form class for the view.
Source code in hypha/apply/funds/views.py
form_valid
¶
Source code in hypha/apply/funds/views.py
ApplicantSubmissionEditView
¶
Bases: BaseSubmissionEditView
buttons
¶
Source code in hypha/apply/funds/views.py
get_form_kwargs
¶
Returns the keyword arguments for instantiating the form.
This method is called by the form mixin during form instantiation. It returns a dictionary of keyword arguments that will be passed to the form's constructor.
Returns:
-
dict
–A dictionary of keyword arguments for the form constructor.
Source code in hypha/apply/funds/views.py
get_placeholder_file
¶
Source code in hypha/apply/funds/views.py
save_draft_and_refresh_page
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
get_form_class
¶
Returns the form class for the view.
This method is called by the view during form instantiation. It returns the form class that will be used to render the form.
When trying to save as draft, this method will return a version of form class that doesn't validate required fields while saving.
The method also disables any group toggle fields in the form, as they are not supported on edit forms.
Returns:
-
class
–The form class for the view.
Source code in hypha/apply/funds/views.py
dispatch
¶
get_object_fund_current_round
¶
form_valid
¶
Source code in hypha/apply/funds/views.py
PartnerSubmissionEditView
¶
Bases: ApplicantSubmissionEditView
buttons
¶
Source code in hypha/apply/funds/views.py
get_form_kwargs
¶
Returns the keyword arguments for instantiating the form.
This method is called by the form mixin during form instantiation. It returns a dictionary of keyword arguments that will be passed to the form's constructor.
Returns:
-
dict
–A dictionary of keyword arguments for the form constructor.
Source code in hypha/apply/funds/views.py
get_placeholder_file
¶
Source code in hypha/apply/funds/views.py
save_draft_and_refresh_page
¶
Source code in hypha/apply/funds/views.py
get_context_data
¶
get_form_class
¶
Returns the form class for the view.
This method is called by the view during form instantiation. It returns the form class that will be used to render the form.
When trying to save as draft, this method will return a version of form class that doesn't validate required fields while saving.
The method also disables any group toggle fields in the form, as they are not supported on edit forms.
Returns:
-
class
–The form class for the view.
Source code in hypha/apply/funds/views.py
get_object_fund_current_round
¶
form_valid
¶
Source code in hypha/apply/funds/views.py
dispatch
¶
Source code in hypha/apply/funds/views.py
SubmissionEditView
¶
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
RevisionCompareView
¶
Bases: DetailView
compare_revisions
¶
Source code in hypha/apply/funds/views.py
render_required
¶
get_context_data
¶
Source code in hypha/apply/funds/views.py
RoundListView
¶
Bases: SingleTableMixin
, FilterView
SubmissionDeleteView
¶
Bases: DeleteView
success_url
class-attribute
instance-attribute
¶
form_valid
¶
Source code in hypha/apply/funds/views.py
SubmissionPrivateMediaView
¶
Bases: UserPassesTestMixin
, PrivateMediaView
SubmissionDetailSimplifiedView
¶
Bases: DetailView
template_name_suffix
class-attribute
instance-attribute
¶
SubmissionDetailPDFView
¶
Bases: SingleObjectMixin
, View
get_object
¶
get
¶
Source code in hypha/apply/funds/views.py
SubmissionResultView
¶
Bases: SubmissionStatsMixin
, FilterView
excluded_fields
class-attribute
instance-attribute
¶
get_filterset_kwargs
¶
get_queryset
¶
get_context_data
¶
Source code in hypha/apply/funds/views.py
ReviewerLeaderboard
¶
Bases: SingleTableMixin
, FilterView
template_name
class-attribute
instance-attribute
¶
get_context_data
¶
get_queryset
¶
get_table_data
¶
Source code in hypha/apply/funds/views.py
ReviewerLeaderboardDetail
¶
RoleColumn
¶
StaffAssignments
¶
Bases: SingleTableMixin
, ListView