update url template references to be django 1.5 friendly