From 9b193ba1ac6a8ff0e48df0f8614ce0618bcc9963 Mon Sep 17 00:00:00 2001 From: Santiago Aguiar Date: Thu, 25 May 2023 16:49:40 -0300 Subject: [PATCH] handle deprecation warning for requires_system_checks Removed in django 4.1. --- graphene_django/management/commands/graphql_schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphene_django/management/commands/graphql_schema.py b/graphene_django/management/commands/graphql_schema.py index bd1c8e6..0064237 100644 --- a/graphene_django/management/commands/graphql_schema.py +++ b/graphene_django/management/commands/graphql_schema.py @@ -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: