support last 2 versions of django in test flow