[svn] forgot to add earlier

This commit is contained in:
substantialnoninfringinguser 2009-05-20 03:28:48 +01:00
parent 9c1e978da2
commit 99949d466a

View File

@ -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("<a href=\'%s\'>"%value.get_absolute_url()+unicode(value)+"</a>")