Resolve url/named url when django is less than 1.5