view src/__init__.py @ 1050:6c98c0baa038

pages (common/blog/atom.xml): don't use query elements in request_uri: when used in self link, some search engine bots (google bot at least) are trying to retrieve page with "comments_max" query argument, which is then returned in the feed in self link, and it get added in a infinite loop.
author Goffi <goffi@goffi.org>
date Thu, 25 Jan 2018 08:17:29 +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