app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Fri, 24 Jul 2009 20:17:35 +0200
changeset 2674 d3e9ea65e3ab
parent 54 03e267d67478
permissions -rw-r--r--
Tables listing Requests now show the name of the Group the request is for/from.

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)