blob: 760d41c5bfe333b6e56090690970f0df1c415956 (
plain)
1
2
3
4
5
6
7
8
9
|
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)
|