view src/__init__.py @ 949:36e9747520fd

pages (common/blog): use request data to indicate if comments are allowed
author Goffi <goffi@goffi.org>
date Tue, 23 May 2017 00:06:03 +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