Files
zulip/zproject/computed_settings.py
Alex Vandiver 9fbf4527a8 settings: S3 is enabled if LOCAL_UPLOADS_DIR is unset.
We should not key off of `S3_KEY`/`S3_SECRET_KEY`, since those are
optional if the host is in EC2 and using instance profiles.  Instead,
check if `LOCAL_UPLOADS_DIR` is None1, which is the authoritative
source for if the S3 backend is in use.

(cherry picked from commit ba5d1108c0)
2025-04-10 17:42:48 -07:00

48 KiB