Services
hypha.apply.funds.services
¶
bulk_archive_submissions
¶
Archive submissions and generate action log.
Parameters:
-
submissions(QuerySet) –queryset of submissions to archive
-
user–user who is archiving the submissions
-
request(HttpRequest) –django request object
Returns:
-
QuerySet–QuerySet of submissions that have been archived
Source code in hypha/apply/funds/services.py
bulk_delete_submissions
¶
Permanently deletes submissions and generate action log.
Parameters:
-
submissions(QuerySet) –queryset of submissions to archive
-
user–user who is archiving the submissions
-
request(HttpRequest) –django request object
Returns:
-
QuerySet–QuerySet of submissions that have been archived
Source code in hypha/apply/funds/services.py
bulk_update_lead
¶
Update lead for submissions and generate action log.
Parameters:
-
submissions(QuerySet) –queryset of submissions to update
-
user–user who is changing the lead
-
request(HttpRequest) –django request object
-
lead–user who is the new lead
Returns:
-
QuerySet–QuerySet of submissions that have been changed
Source code in hypha/apply/funds/services.py
bulk_update_reviewers
¶
Update reviewer for submissions and generate action log.
Parameters:
-
submissions(QuerySet) –queryset of submissions to update
-
user–user who is changing the reviewer
-
request(HttpRequest) –django request object
-
assigned_roles(dict) –roles and reviewers to assign against them
-
reviewer–user who is the new reviewer
Returns:
-
QuerySet–QuerySet of submissions that have been changed