diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-12 20:55:40 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-12 20:55:40 +0100 |
commit | 454308b0fe26767092b7b030b3746735633f5ba1 (patch) | |
tree | cab681790cc8b8cc9565357cec3f83369e914c89 /config/settings/production.py | |
parent | fc8383c528c47e6914557767be5723670c74008f (diff) |
More changes for Docker deployment
Diffstat (limited to 'config/settings/production.py')
-rw-r--r-- | config/settings/production.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/config/settings/production.py b/config/settings/production.py index 0034fd8..7d15a9c 100644 --- a/config/settings/production.py +++ b/config/settings/production.py @@ -18,18 +18,18 @@ DATABASES["default"]["CONN_MAX_AGE"] = env.int("CONN_MAX_AGE", default=60) # CACHES # ------------------------------------------------------------------------------ -CACHES = { - "default": { - "BACKEND": "django_redis.cache.RedisCache", - "LOCATION": env("REDIS_URL"), - "OPTIONS": { - "CLIENT_CLASS": "django_redis.client.DefaultClient", - # Mimicing memcache behavior. - # https://github.com/jazzband/django-redis#memcached-exceptions-behavior - "IGNORE_EXCEPTIONS": True, - }, - }, -} +# CACHES = { +# "default": { +# "BACKEND": "django_redis.cache.RedisCache", +# "LOCATION": env("REDIS_URL"), +# "OPTIONS": { +# "CLIENT_CLASS": "django_redis.client.DefaultClient", +# # Mimicing memcache behavior. +# # https://github.com/jazzband/django-redis#memcached-exceptions-behavior +# "IGNORE_EXCEPTIONS": True, +# }, +# }, +# } # SECURITY # ------------------------------------------------------------------------------ @@ -123,7 +123,7 @@ ADMIN_URL = env("DJANGO_ADMIN_URL") # Anymail # ------------------------------------------------------------------------------ # https://anymail.readthedocs.io/en/stable/installation/#installing-anymail -#INSTALLED_APPS += ["anymail"] +# INSTALLED_APPS += ["anymail"] # https://docs.djangoproject.com/en/dev/ref/settings/#email-backend # https://anymail.readthedocs.io/en/stable/installation/#anymail-settings-reference # https://anymail.readthedocs.io/en/stable/esps/mailgun/ @@ -132,7 +132,7 @@ ADMIN_URL = env("DJANGO_ADMIN_URL") # "MAILGUN_API_KEY": env("MAILGUN_API_KEY"), # "MAILGUN_SENDER_DOMAIN": env("MAILGUN_DOMAIN"), # "MAILGUN_API_URL": env("MAILGUN_API_URL", default="https://api.mailgun.net/v3"), -#} +# } # LOGGING |