Manually call django.setup() to populate apps registry.

My attempt to get rid of this:

```
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
```

which has been showing up in the recent Travis builds on master.