support django 1.5, change url tags.