comparison src/common/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 0c824ebe9d87
children 5264fec78a1d
comparison
equal deleted inserted replaced
860:05cd9dc775e6 861:5cefc6ab302f
21 import os.path 21 import os.path
22 22
23 23
24 class Const(constants.Const): 24 class Const(constants.Const):
25 25
26 # XXX: we don't want to use the APP_VERSION inherited from sat.core.constants version
27 # as we use this version to check that there is not a mismatch with backend
28 APP_VERSION = u'0.6.0D' # Please add 'D' at the end for dev versions
26 LIBERVIA_MAIN_PAGE = "libervia.html" 29 LIBERVIA_MAIN_PAGE = "libervia.html"
27 30
28 # MISC 31 # MISC
29 PASSWORD_MIN_LENGTH = 6 # for new account creation 32 PASSWORD_MIN_LENGTH = 6 # for new account creation
30 33