Skip to content

Commit

Permalink
Handle deprecation warning for requires_system_checks.
Browse files Browse the repository at this point in the history
This is being removed in django 4.1
  • Loading branch information
tim-schilling committed Dec 9, 2021
1 parent 82b2d06 commit e584d5e
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 e584d5e

Please sign in to comment.