comparison twisted/plugins/libervia_server.py @ 1151:49ff1330c9d0

server: added "dev_mode" boolean option (not used yet but will be soon)
author Goffi <goffi@goffi.org>
date Fri, 22 Feb 2019 16:56:58 +0100
parents 4426c328eb83
children b300eaec53b6
comparison
equal deleted inserted replaced
1150:0effdb357a87 1151:49ff1330c9d0
150 ['allow_registration', '', True, _(u'Allow user to register new ' 150 ['allow_registration', '', True, _(u'Allow user to register new '
151 u'account').encode('utf-8'), coerceBool], 151 u'account').encode('utf-8'), coerceBool],
152 ['base_url_ext', '', '', 152 ['base_url_ext', '', '',
153 _(u'The external URL to use as base URL').encode('utf-8'), 153 _(u'The external URL to use as base URL').encode('utf-8'),
154 coerceUnicode], 154 coerceUnicode],
155 ['dev_mode', 'D', False, _(u'Developer mode, automatically reload'
156 u'modified pages').encode('utf-8'), coerceBool],
155 ] 157 ]
156 # Options which are in sat.conf only 158 # Options which are in sat.conf only
157 OPT_PARAMETERS_CFG = [ 159 OPT_PARAMETERS_CFG = [
158 ["empty_password_allowed_warning_dangerous_list", None, "", None], 160 ["empty_password_allowed_warning_dangerous_list", None, "", None],
159 ["vhosts_dict", None, {}, None], 161 ["vhosts_dict", None, {}, None],