Move VOYAGER detection to after initialization of ZULIP_COM

(imported from commit c9aa814ebc30a78abe8babfc3bf2eedb8198d17d)
This commit is contained in:
Reid Barton 2015-08-28 10:39:57 -07:00
parent 0a3bdc20e9
commit 73264ab530

View File

@ -96,13 +96,6 @@ else:
NEW_USER_BOT = "new-user-bot@zulip.com"
EMAIL_GATEWAY_BOT = "emailgateway@zulip.com"
# Voyager is a production zulip server that is not zulip.com or
# staging.zulip.com VOYAGER is the standalone all-on-one-server
# production deployment model for based on the original Zulip
# ENTERPRISE implementation. We expect most users of the open source
# project will be using VOYAGER=True in production.
VOYAGER = PRODUCTION and not ZULIP_COM
########################################################################
# DEFAULT VALUES FOR SETTINGS
########################################################################
@ -195,6 +188,13 @@ if ADMINS == "":
ADMINS = (("Zulip Administrator", ZULIP_ADMINISTRATOR),)
MANAGERS = ADMINS
# Voyager is a production zulip server that is not zulip.com or
# staging.zulip.com VOYAGER is the standalone all-on-one-server
# production deployment model for based on the original Zulip
# ENTERPRISE implementation. We expect most users of the open source
# project will be using VOYAGER=True in production.
VOYAGER = PRODUCTION and not ZULIP_COM
########################################################################
# STANDARD DJANGO SETTINGS
########################################################################