app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Sun, 18 Oct 2009 17:10:01 +0200
changeset 3025 1ffc7cd7309c
parent 54 03e267d67478
permissions -rw-r--r--
Fixed the TimelineConversionUpdate to also update the GSoCProgram.

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)