summaryrefslogtreecommitdiff
path: root/meetingtools/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'meetingtools/extensions')
-rw-r--r--meetingtools/extensions/templatetags/prefix.py13
1 files changed, 13 insertions, 0 deletions
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