akvo.rsr.management.commands.cleanup_untitled_and_unpublished_projects module

class akvo.rsr.management.commands.cleanup_untitled_and_unpublished_projects.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseCommand

DEFAULT_DATE = datetime.datetime(2024, 12, 2, 0, 0, 0, 780465, tzinfo=datetime.timezone.utc)
add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)[source]

The actual logic of the command. Subclasses must implement this method.

help = '    Delete all Untitled and Unpublished projects\n    '