mirror of https://github.com/zulip/zulip.git
Organize local_settings_template.py a bit better.
(imported from commit c880b1237504e81ce828ccaf58dcc383ac0231b6)
This commit is contained in:
parent
042f5a3959
commit
b2798385ac
|
@ -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
|
# This is the user-accessible Zulip hostname for this installation
|
||||||
EXTERNAL_HOST = ''
|
EXTERNAL_HOST = ''
|
||||||
|
@ -26,12 +28,6 @@ AUTHENTICATION_BACKENDS = (
|
||||||
# "username@example.com".
|
# "username@example.com".
|
||||||
SSO_APPEND_DOMAIN = None
|
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
|
# Configure the outgoing SMTP server below. For outgoing email
|
||||||
# via a GMail SMTP server, EMAIL_USE_TLS must be True and the
|
# via a GMail SMTP server, EMAIL_USE_TLS must be True and the
|
||||||
# outgoing port must be 587. The EMAIL_HOST is prepopulated
|
# outgoing port must be 587. The EMAIL_HOST is prepopulated
|
||||||
|
@ -43,6 +39,14 @@ EMAIL_HOST_PASSWORD = ''
|
||||||
EMAIL_PORT = 587
|
EMAIL_PORT = 587
|
||||||
EMAIL_USE_TLS = True
|
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,
|
# Control whether or not there is a feedback button in the UI,
|
||||||
# which can be used to send feedback directly to Zulip
|
# which can be used to send feedback directly to Zulip
|
||||||
ENABLE_FEEDBACK = True
|
ENABLE_FEEDBACK = True
|
||||||
|
|
Loading…
Reference in New Issue