@cronjobs.register
def cleanup_validation_results():
 all = FileValidation.objects.all()
 log.info(('Removing %s old validation results.' % all.count()))
 all.delete()

@ cronjobs . register def cleanup_validation_results ( ) : all = FileValidation . objects . all ( ) log . info ( ( 'Removing %s old validation results.' % all . count ( ) ) ) all . delete ( )
will remove all validation results .