app/django/core/management/commands/validate.py
author james@jamess-macbook-air.local
Tue, 30 Jun 2009 03:03:46 -0700
changeset 2458 467ec0cf3ece
parent 54 03e267d67478
permissions -rw-r--r--
merged upstream

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)