Move iOS App IDs to settings.py since it's needed to run the app.

(imported from commit 891e32ffa82430487fc333fa549ee465f0d018c0)
This commit is contained in:
Tim Abbott 2015-08-18 16:02:31 -07:00
parent 43c7ff64d1
commit 8c88746912
2 changed files with 4 additions and 3 deletions

View File

@ -220,6 +220,3 @@ API_SUPER_USERS = set(["tabbott/extra@mit.edu",
ADMINS = (
('Zulip Error Reports', 'errors@zulip.com'),
)
ZULIP_IOS_APP_ID = 'com.zulip.Zulip'
DBX_IOS_APP_ID = 'com.dropbox.Zulip'

View File

@ -776,6 +776,10 @@ POLL_TIMEOUT = 90 * 1000
# client tests.
TUTORIAL_ENABLED = True
# iOS App IDs
ZULIP_IOS_APP_ID = 'com.zulip.Zulip'
DBX_IOS_APP_ID = 'com.dropbox.Zulip'
USING_SSO = ('zproject.backends.ZulipRemoteUserBackend' in AUTHENTICATION_BACKENDS)
if (len(AUTHENTICATION_BACKENDS) == 1 and