comparison src/server/constants.py @ 861:5cefc6ab302f

server: moved APP_VERSION to common.constants + avoid __init__ import in browser side, which was the source of a crash
author Goffi <goffi@goffi.org>
date Mon, 25 Jan 2016 16:41:38 +0100
parents 05cd9dc775e6
children 86563d6c83b0
comparison
equal deleted inserted replaced
860:05cd9dc775e6 861:5cefc6ab302f
22 22
23 class Const(constants.Const): 23 class Const(constants.Const):
24 24
25 APP_NAME = 'Libervia' 25 APP_NAME = 'Libervia'
26 APP_NAME_FILE = "libervia" 26 APP_NAME_FILE = "libervia"
27 # XXX: we don't want to use the APP_VERSION inherited from sat.core.constants version
28 # as we use this version to check that there is not a mismatch with backend
29 APP_VERSION = u'0.6.0D' # Please add 'D' at the end for dev versions
30 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service 27 SERVICE_PROFILE = 'libervia' # the SàT profile that is used for exporting the service
31 28
32 SESSION_TIMEOUT = 300 # Session's timeout, after that the user will be disconnected 29 SESSION_TIMEOUT = 300 # Session's timeout, after that the user will be disconnected
33 HTML_DIR = "html/" 30 HTML_DIR = "html/"
34 THEMES_DIR = "themes/" 31 THEMES_DIR = "themes/"