handle deprecation warning for requires_system_checks

Removed in django 4.1.
This commit is contained in:
Santiago Aguiar 2023-05-25 16:49:40 -03:00
parent ede3880abb
commit 9b193ba1ac
No known key found for this signature in database
GPG Key ID: ADD62917947F78C5

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: