Move GraphQL to separata app

This commit is contained in:
2023-11-29 21:04:35 +01:00
parent 5ef8c07f30
commit cb380814a7
9 changed files with 26 additions and 7 deletions

View File

@ -33,6 +33,7 @@ ALLOWED_HOSTS = ["*"]
INSTALLED_APPS = [
"games.apps.GamesConfig",
"api.apps.ApiConfig",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
@ -41,7 +42,7 @@ INSTALLED_APPS = [
"graphene_django",
]
GRAPHENE = {"SCHEMA": "games.schema.schema"}
GRAPHENE = {"SCHEMA": "api.schema.schema"}
if DEBUG:
INSTALLED_APPS.append("django_extensions")