Open andresdouglas opened 8 years ago
I know you're not actively maintaining this repo, but just thought I'd keep track of it here.
Adding the following lines in your site's settings.py below the SECRET_KEY declaration seems to fix things:
import django
django.setup()
Nevermind, that doesn't seem to work. Seems like that call to setup is premature and installed apps won't actually get processed.
For me I was trying to use the User
model in an apps.py
, I had to move my import from the top of the file to be inside the ready()
function in my AppConfig
class, now it works fine.
When installing in a django 1.9 site, run into the following error:
I believe it has to do with this issue: https://github.com/etianen/django-reversion/issues/481, especifically that you shouldn't import models from your app's init.py file