app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sat, 29 Nov 2008 22:36:51 +0000
changeset 618 b2319f2633bc
parent 54 03e267d67478
permissions -rw-r--r--
Added invitation received message upon creating a new invite. Moved the inviteAcceptedRedirect into the logic code. Added a TODO for further user notification upon creating a request. Patch by: Lennard de Rijk

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)