mirror of
https://github.com/django/django.git
synced 2025-08-01 09:32:50 +00:00
Fixed #31546 -- Allowed specifying list of tags in Command.requires_system_checks.
This commit is contained in:
parent
a4e6030904
commit
c60524c658
30 changed files with 156 additions and 41 deletions
|
@ -3,7 +3,7 @@ from django.core.management.base import LabelCommand
|
|||
|
||||
class Command(LabelCommand):
|
||||
help = "Test Label-based commands"
|
||||
requires_system_checks = False
|
||||
requires_system_checks = []
|
||||
|
||||
def handle_label(self, label, **options):
|
||||
print('EXECUTE:LabelCommand label=%s, options=%s' % (label, sorted(options.items())))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue