added  django.setup for 1.7 support