diff options
author | Leif Johansson <leifj@sunet.se> | 2011-02-09 10:34:10 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-02-09 10:34:10 +0100 |
commit | 23816211095cbc8bfde3313b3b1ccf4a43908420 (patch) | |
tree | c8682f9bb84a112aa4d31bc2fc61eb4d234a43da /meetingtools/extensions | |
parent | 618d783a82d112192665fa6be9df016ccd51e8b9 (diff) |
prefix in templates -a
Diffstat (limited to 'meetingtools/extensions')
-rw-r--r-- | meetingtools/extensions/templatetags/prefix.py | 13 |
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 |