1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #31546 -- Allowed specifying list of tags in Command.requires_system_checks.

This commit is contained in:
Hasan Ramezani
2020-05-14 00:00:41 +02:00
committed by Carlton Gibson
parent a4e6030904
commit c60524c658
30 changed files with 156 additions and 41 deletions

View File

@@ -4,7 +4,7 @@ from django.core.management.base import BaseCommand, CommandError
class Command(BaseCommand):
help = "Dance around like a madman."
args = ''
requires_system_checks = True
requires_system_checks = '__all__'
def add_arguments(self, parser):
parser.add_argument("integer", nargs='?', type=int, default=0)