app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sat, 31 Jan 2009 19:02:53 +0000
changeset 1128 18d0e10b02f7
parent 54 03e267d67478
permissions -rw-r--r--
Added a view and templates for the organization admin. This means that org admins can now be created/invited. Patch by: Lennard de Rijk Reviewed 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)