app/django/core/management/commands/validate.py
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sun, 30 Nov 2008 16:39:18 +0000
changeset 626 342bebadd075
parent 54 03e267d67478
permissions -rw-r--r--
Fix too long lines in soc.views.models.request, remove unused imports and change pending requests list description. Remove unused imports from soc.logic.path_link_name module. Patch by: Pawel Solyga

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)