diff --git a/expo/templatetags/link.py b/expo/templatetags/link.py new file mode 100644 index 0000000..5308ace --- /dev/null +++ b/expo/templatetags/link.py @@ -0,0 +1,8 @@ +from django import template +from django.utils.safestring import mark_safe + +register = template.Library() + +@register.filter() +def link(value): + return mark_safe(""%value.get_absolute_url()+unicode(value)+"") \ No newline at end of file