view libervia/__init__.py @ 1491:3002ea1d6ae9

pages (blog/view): don't use backend cache when "no cache" is requested
author Goffi <goffi@goffi.org>
date Wed, 26 Jan 2022 10:24:46 +0100
parents ac2374c92294
children
line wrap: on
line source

import os.path

version_file = os.path.join(os.path.dirname(__file__), "VERSION")
with open(version_file) as f:
    __version__ = f.read().strip()