app/django/core/management/commands/validate.py
author Mario Ferraro <fadinlight@gmail.com>
Tue, 25 Aug 2009 15:58:30 +0100
changeset 2800 cd9eed2b787e
parent 54 03e267d67478
permissions -rw-r--r--
Made all JS code JSLint compliant.

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)