Drafts cleanup
hypha.apply.funds.management.commands.drafts_cleanup
¶
Command
¶
Bases: BaseCommand
help
class-attribute
instance-attribute
¶
add_arguments
¶
Source code in hypha/apply/funds/management/commands/drafts_cleanup.py
handle
¶
Source code in hypha/apply/funds/management/commands/drafts_cleanup.py
check_not_negative
¶
Used to validate older_than_days
argument
Parameters:
-
value
–Argument to be validated
Returns:
-
int
(int
) –Valid non-negative value
Raises:
-
ArgumentTypeError
–if not non-negative integer