app/django/core/management/commands/validate.py
author Lennard de Rijk <ljvderijk@gmail.com>
Tue, 14 Jul 2009 18:36:16 +0200
changeset 2648 c6d1c9ccef4a
parent 54 03e267d67478
permissions -rw-r--r--
Added button to the GradingRecords overview to send mail when updating projects. Note that this will mail all the projects for which a record is available.

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)