Skip to content

Commit

Permalink
fix: remove template loader config in production (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muchogoc committed Nov 2, 2023
1 parent 1091f9b commit bd89a9b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd89a9b

Please sign in to comment.