view src/__init__.py @ 955:4f7cb6335a33

server(pages): do Post/Redirect/Get pattern when on_data_post is used (avoid double posting on refresh)
author Goffi <goffi@goffi.org>
date Sun, 09 Jul 2017 22:28:40 +0200
parents 5cefc6ab302f
children
line wrap: on
line source

try:
    from common.constants import Const as C
except ImportError:
    pass # import doesn't work at this stage with pyjamas
else:
    __version__ = C.APP_VERSION