2014-06-18 07:07:54 +08:00
|
|
|
from django.core.management.base import BaseCommand
|
2014-01-20 10:45:21 +08:00
|
|
|
|
|
|
|
|
2014-06-18 07:07:54 +08:00
|
|
|
class InvalidCommand(BaseCommand):
|
2014-01-20 10:45:21 +08:00
|
|
|
help = ("Test raising an error if both requires_system_checks "
|
|
|
|
"and requires_model_validation are defined.")
|
|
|
|
requires_system_checks = True
|
|
|
|
requires_model_validation = True
|
|
|
|
|
2014-06-18 07:07:54 +08:00
|
|
|
def handle(self, **options):
|
2014-01-20 10:45:21 +08:00
|
|
|
pass
|