Avoid unnecessary DJANGO_VERSION checks