[BangPypers] Using south for migration for a django project

Amit Sethi amit.pureenergy at gmail.com
Thu May 19 09:15:23 CEST 2011


Hi all ,
I have been trying to use south(0.7) for migrating a django(1.2.5)
project (db backend - postgres but have also tried using with sqlite3)

Essentially I wish to rename a field in one of my apps.

I am also using mezzanine cms (0.10) . The first problem I run into is
that mezzanine apps become out of sync while making initial migration
although I have not made any changes to mezzanine.

The next problem is when I run the migration scripts
I get this particular error(on both postgres and sqlite3):

  AttributeError: 'DatabaseFeatures' object has no attribute
'supports_tablespaces'

I commented out the line in south causing the error. And the migration
scripts seem to run fine on my app atleast ( at least I do not get any
errors)

But while loading fixtures in the end south again exists with a
mezzanine related issue
:
DatabaseError: relation "pages_page" does not exist
LINE 1: SELECT (1) AS "a" FROM "pages_page" WHERE "pages_page"."id" ...

Can some one help me out with this . Point to a good tutorial for
south or recommend a tool that has worked for them in the past.



-- 
A-M-I-T S|S


More information about the BangPypers mailing list