app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 02 Jul 2009 11:25:52 +0200
changeset 2480 0079e1038740
parent 54 03e267d67478
permissions -rw-r--r--
Removed two obsolete/outdated methods in Survey Logic. The updateSurveyRecord can be found in the SurveyRecord logic.

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)