From 23816211095cbc8bfde3313b3b1ccf4a43908420 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Wed, 9 Feb 2011 10:34:10 +0100 Subject: prefix in templates -a --- meetingtools/extensions/templatetags/prefix.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meetingtools/extensions/templatetags/prefix.py (limited to 'meetingtools/extensions') diff --git a/meetingtools/extensions/templatetags/prefix.py b/meetingtools/extensions/templatetags/prefix.py new file mode 100644 index 0000000..4defd38 --- /dev/null +++ b/meetingtools/extensions/templatetags/prefix.py @@ -0,0 +1,13 @@ +''' +Created on Feb 9, 2011 + +@author: leifj +''' + +from django import template +from meetingtools.settings import PREFIX_URL +register = template.Library() + +@register.simple_tag +def prefix(): + return PREFIX_URL \ No newline at end of file -- cgit v1.1