app/django/core/management/commands/validate.py
author Matthew Wilkes <matthew@matthewwilkes.co.uk>
Wed, 14 Oct 2009 09:47:02 +0200
changeset 3018 0653f924ee7e
parent 54 03e267d67478
permissions -rw-r--r--
Fix typographical error and changes in status messages for Task workflow. 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)