Skip to content

Commit

Permalink
handle deprecation warning for requires_system_checks
Browse files Browse the repository at this point in the history
Removed in django 4.1.
  • Loading branch information
santiagoaguiar committed May 25, 2023
1 parent ede3880 commit 9b193ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene_django/management/commands/graphql_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def add_arguments(self, parser):
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:
Expand Down

0 comments on commit 9b193ba

Please sign in to comment.