Change url template tag to work with django 1.5