Skip to content

Commit 9b193ba

Browse files
handle deprecation warning for requires_system_checks
Removed in django 4.1.
1 parent ede3880 commit 9b193ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene_django/management/commands/graphql_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def add_arguments(self, parser):
4848
class Command(CommandArguments):
4949
help = "Dump Graphene schema as a JSON or GraphQL file"
5050
can_import_settings = True
51-
requires_system_checks = False
51+
requires_system_checks = []
5252

5353
def save_json_file(self, out, schema_dict, indent):
5454
with open(out, "w") as outfile:

0 commit comments

Comments
 (0)