akvo.rsr.management.commands.delete_spam_users module

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

Bases: BaseCommand

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

Delete spam user accounts from the DB.

Deletes all users who joined more than a week ago, but don’t have an employment associated with them.

help = 'Delete spam users from the DB'