app/django/core/management/commands/validate.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Fri, 20 Mar 2009 14:40:22 +0000
changeset 1953 6bd827320b3d
parent 54 03e267d67478
permissions -rw-r--r--
Add date postfix to slot-allocator.js file. Update base.html template with path to slot-allocator-090320.js. Patch by: Pawel Solyga 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)