Fixing django 1.5 incompatibilities with url templatetag.