X-Git-Url: https://git.mdrn.pl/django-ssify.git/blobdiff_plain/3d2c8ba4dfb4774daff367dae1656099eb2b562c..196df9e8170262c31790260d4e280b9981b557d1:/ssify/__init__.py diff --git a/ssify/__init__.py b/ssify/__init__.py index 591c70a..51322bc 100644 --- a/ssify/__init__.py +++ b/ssify/__init__.py @@ -1,3 +1,7 @@ +# -*- coding: utf-8 -*- +# This file is part of django-ssify, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See README.md for more information. +# """ Implements two-phase rendering using SSI statements. @@ -8,6 +12,7 @@ Define views to be cached and included as SSI include with `ssi_included` decorator. """ +from __future__ import unicode_literals __version__ = '1.0' __date__ = '2014-08-26' @@ -18,7 +23,7 @@ from django.utils.functional import lazy SETTING = lazy( lambda name, default: getattr(settings, name, default), - bool, int, list, tuple, unicode) + bool, int, list, tuple, str) INCLUDES_CACHES = SETTING('SSIFY_INCLUDES_CACHES', ('ssify',)) DEBUG = SETTING('SSIFY_DEBUG', False)