Mercurial > libervia-web
view src/__init__.py @ 925:e00151140f77
server (pages): URIs handling:
a page can now handle specific URIs by using uri_handlers variable:
it's a dict mapping URIs (type/subtype) tuples to a callback. The callback must generate the URI path (relative to the page) including the needed URI data
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Apr 2017 01:00:29 +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