updated patch file for django 1.6