Improving django version checking.