Handle deprecation warning for requires_system_checks.

This is being removed in django 4.1
This commit is contained in:
Tim Schilling 2021-12-08 18:51:38 -06:00
parent 82b2d064be
commit e584d5ef5d
No known key found for this signature in database
GPG Key ID: DDC5DD810DBA776C

View File

@ -48,7 +48,7 @@ class CommandArguments(BaseCommand):
class Command(CommandArguments):
help = "Dump Graphene schema as a JSON or GraphQL file"
can_import_settings = True
requires_system_checks = False
requires_system_checks = []
def save_json_file(self, out, schema_dict, indent):
with open(out, "w") as outfile: