app/django/core/management/commands/validate.py
author Todd Larsen <tlarsen@google.com>
Sat, 07 Feb 2009 00:34:12 +0000
changeset 1234 a6ccb08911eb
parent 54 03e267d67478
permissions -rw-r--r--
Add image that appears to be missing from the original thickbox patches. Patch by: Todd Larsen Review by: to-be-reviewed

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)