djangopostgresqldjango-reversion

Cannot use VersionAdmin with a database that does not support savepoints


I use django-reversion and I am getting this error out of the blue.

django.core.exceptions.ImproperlyConfigured: Cannot use VersionAdmin with a database that does not support savepoints.

It occurs on the line admin.site.register(Post,PostAdmin)

Cannot use python manage.py on my local, though everything works fine in my production.

Have even tried changing the database(postgresql) but to no avail.


Solution

  • The problem was that settings did not take my database.

    I was using local settings which had a typo error. And it was not showing error because in try, except block, I did not write ImportError.