Django 1.7: Fix django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet.