Hide keyboard shortcuts

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

# 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