summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/management/commands/validation_command.py
blob: e9ba86dc6cb9848bb9fbcb38936233d93a76109d (plain)
1
2
3
4
5
6
7
8
9
10
11
from django.core.management.base import NoArgsCommand


class InvalidCommand(NoArgsCommand):
    help = ("Test raising an error if both requires_system_checks "
            "and requires_model_validation are defined.")
    requires_system_checks = True
    requires_model_validation = True

    def handle_noargs(self, **options):
        pass