make url template tag django 1.5 compatible