This commit is contained in:
sadnub
2023-05-02 18:08:44 -04:00
parent de419319d8
commit 5cfeed76d0
2 changed files with 1 additions and 2 deletions

View File

@@ -8,7 +8,6 @@ import json
from django.apps import apps
from django.core.management.base import BaseCommand
from django.conf import settings as djangosettings
from ...settings import settings
from ...constants import REPORTING_MODELS
@@ -133,6 +132,6 @@ def generate_schema() -> None:
}
with open(
f"{settings.REPORTING_ASSETS_BASE_PATH}/schemas/query_schema.json", "w"
f"{djangosettings.STATICFILES_DIRS[0]}reporting/schemas/query_schema.json", "w"
) as outfile:
outfile.write(json.dumps(schema, indent=4))