akvo.rsr.management.commands.fix_latest_update module
- class akvo.rsr.management.commands.fix_latest_update.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]
Bases:
BaseCommand
- handle(*args, **options)[source]
Set Project.last_update to latest update for the project.
This fixes a bug that was introduced when updates could be deleted.
- help = 'Set Project.last_update field. Fixes potential errors due to a bug'