mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-10 16:22:20 +03:00
handle deprecation warning for requires_system_checks
Removed in django 4.1.
This commit is contained in:
parent
ede3880abb
commit
9b193ba1ac
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user