app/django/core/management/commands/validate.py
author Mario Ferraro <fadinlight@gmail.com>
Sat, 09 May 2009 01:36:22 +0200
changeset 2301 fd14daa4b45a
parent 54 03e267d67478
permissions -rw-r--r--
Fixes Issue 625 where the Duplicate calculation would hang if no assigned slots where available. Reviewed by: Lennard de Rijk

from django.core.management.base import NoArgsCommand

class Command(NoArgsCommand):
    help = "Validates all installed models."

    requires_model_validation = False

    def handle_noargs(self, **options):
        self.validate(display_num_errors=True)