Add separate version file.
[django-ssify.git] / ssify / __init__.py
1 # -*- coding: utf-8 -*-
2 # This file is part of django-ssify, licensed under GNU Affero GPLv3 or later.
3 # Copyright © Fundacja Nowoczesna Polska. See README.md for more information.
4 #
5 """
6 Implements two-phase rendering using SSI statements.
7
8 Define reqest-dependent SSI variables to use as template tags
9 with `ssi_variable` decorator.
10
11 Define views to be cached and included as SSI include
12 with `ssi_included` decorator.
13
14 """
15 from __future__ import unicode_literals
16
17 from .version import VERSION
18
19 __version__ = VERSION
20 __date__ = '2014-08-26'
21 __all__ = ('flush_ssi_includes', 'ssi_expect', 'SsiVariable', 'ssi_included', 'ssi_variable')
22
23 from .variables import ssi_expect, SsiVariable
24 from .decorators import ssi_included, ssi_variable
25 from .cache import flush_ssi_includes