Views
hypha.apply.activity.views
¶
ActivityContextMixin
¶
Mixin to add related 'comments' of the current view's 'self.object'
get_context_data
¶
Source code in hypha/apply/activity/views.py
CommentFormView
¶
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
form_valid
¶
Source code in hypha/apply/activity/views.py
get_success_url
¶
get_form_kwargs
¶
Get the kwargs for the CommentForm
.
Returns:
-
dict
–A dict of kwargs to be passed to
CommentForm
. The submission instance is removed from this return, while a boolean ofhas_partners
is added based off the submission.
Source code in hypha/apply/activity/views.py
AttachmentView
¶
Bases: PrivateMediaView
NotificationsView
¶
Bases: ListView