fix url templatetag for django1.5 support