I\'ve started working on a Django/Postgres site. Sometimes I work in manage.py shell
, and accidentally do some DB action that results in an error. Then I am una
If you happen to get such an error when running migrate
(South), it can be that you have lots of changes in database schema and want to handle them all at once. Postgres is a bit nasty on that. What always works, is to break one big migration into smaller steps. Most likely, you're using a version control system.
So, having the situation described above, do as follows:
And you're done. :)
It should run flawlessly.