more updates to url template tag due to django 1.5.x structural change to the tag itself