call django.setup before syncdb for django 1.7 compatibility

Same commit as before -- sorry for the new pull request, I accidentially committed a file that didn't belong here