Coverage for pylucid/context_processors.py : 0%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# coding: utf-8
""" PyLucid context processor ~~~~~~~~~~~~~~~~~~~~~~~~~
:copyleft: 2009-2015 by the PyLucid team, see AUTHORS for more details. :license: GNU GPL v3 or above, see LICENSE for more details. """
from django.utils.safestring import mark_safe
from . import __version__
def pylucid(request): """ A django TEMPLATE_CONTEXT_PROCESSORS """ context = { "pylucid_version": "v%s" % __version__, "powered_by": mark_safe('<a href="http://www.pylucid.org">PyLucid v%s</a>' % __version__), } return context |