Refine Django versions for testing.