Work around django bug 23455 so tests pass