summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-06-01 22:29:36 +0200
committerLeif Johansson <leifj@sunet.se>2011-06-01 22:29:36 +0200
commit739c1c3780cdde3bc371702a6b946ab2d0787bcc (patch)
tree6b52a326062abb90f08a0101a55f248800b8cf48 /src/meetingtools
parent6d97d265ae6f63ee78d9637af17dde9528e271de (diff)
absolute url for validation links
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/extensions/templatetags/prefix.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/meetingtools/extensions/templatetags/prefix.py b/src/meetingtools/extensions/templatetags/prefix.py
index 4defd38..32b8656 100644
--- a/src/meetingtools/extensions/templatetags/prefix.py
+++ b/src/meetingtools/extensions/templatetags/prefix.py
@@ -5,9 +5,14 @@ Created on Feb 9, 2011
'''
from django import template
-from meetingtools.settings import PREFIX_URL
+from meetingtools.settings import PREFIX_URL, BASE_URL
register = template.Library()
@register.simple_tag
+def baseurl():
+ return BASE_URL
+
+
+@register.simple_tag
def prefix():
return PREFIX_URL \ No newline at end of file