fix detecting Django version and running django.setup() for django==1.7