fix failing django 1.6 test