Mercurial > libervia-web
view src/__init__.py @ 978:c8cafe316f6f
pages: removed trailing_slash option:
this option is used for relative URLs, but it seems more reasonable to build absolute URL from the server, so templates are not dependants of the way the pages hierarchy is done.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Nov 2017 12:51:56 +0100 |
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