[Answer]-Importing django reversion gives an error

1👍

I know this is an old question, but in case anyone stumbles upon it: The problem here is that you’re running the standard python interpreter, rather than the Django shell. You can do import django into a regular python interpreter to check the Django version, but it does NOT set all the various environment variables necessary to run django properly — including importing django apps. In order to import a django app, you need to instead run the Django shell via

./ python manage.py shell

Leave a comment