Disable system checks for generate_schema command

This commit is contained in:
Sam Millar 2020-04-19 18:53:48 +01:00 committed by GitHub
parent fba6de41dd
commit f9ad60e5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +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
def save_json_file(self, out, schema_dict, indent):
with open(out, "w") as outfile: