From f1079c0a3d913c8918ebc13203b0f7ff63110db1 Mon Sep 17 00:00:00 2001 From: Muchogo Date: Thu, 2 Nov 2023 14:44:20 +0300 Subject: [PATCH] fix: remove template loader config in production --- config/settings/production.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/config/settings/production.py b/config/settings/production.py index f07ea5b..d601dea 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -72,20 +72,6 @@ DEFAULT_FILE_STORAGE = "mycarehub.utils.storages.MediaRootGoogleCloudStorage" MEDIA_URL = f"https://storage.googleapis.com/{GS_BUCKET_NAME}/media/" -# TEMPLATES -# ------------------------------------------------------------------------------ -# https://docs.djangoproject.com/en/dev/ref/settings/#templates -TEMPLATES[-1]["OPTIONS"]["loaders"] = [ # type: ignore[index] # noqa F405 - ( - "django.template.loaders.cached.Loader", - [ - "django.template.loaders.filesystem.Loader", - "django.template.loaders.app_directories.Loader", - ], - ) -] - - # Anymail # ------------------------------------------------------------------------------ # https://anymail.readthedocs.io/en/stable/installation/#installing-anymail