Organize local_settings_template.py a bit better.

(imported from commit c880b1237504e81ce828ccaf58dcc383ac0231b6)
This commit is contained in:
Tim Abbott 2013-11-13 23:14:18 -05:00
parent 042f5a3959
commit b2798385ac
1 changed files with 11 additions and 7 deletions

View File

@ -1,4 +1,6 @@
# Template for Django settings for Zulip Enterprise
# Settings for Zulip Enterprise
### MANDATORY SETTINGS
# This is the user-accessible Zulip hostname for this installation
EXTERNAL_HOST = ''
@ -26,12 +28,6 @@ AUTHENTICATION_BACKENDS = (
# "username@example.com".
SSO_APPEND_DOMAIN = None
# Make session cookies expire when the browser closes
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
# Session cookie expiry in seconds after the last page load
SESSION_COOKIE_AGE = 1209600 # 2 weeks
# Configure the outgoing SMTP server below. For outgoing email
# via a GMail SMTP server, EMAIL_USE_TLS must be True and the
# outgoing port must be 587. The EMAIL_HOST is prepopulated
@ -43,6 +39,14 @@ EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 587
EMAIL_USE_TLS = True
### SETTINGS BELOW HERE ARE OPTIONAL
# Make session cookies expire when the browser closes
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
# Session cookie expiry in seconds after the last page load
SESSION_COOKIE_AGE = 1209600 # 2 weeks
# Control whether or not there is a feedback button in the UI,
# which can be used to send feedback directly to Zulip
ENABLE_FEEDBACK = True