First time here? Check out the FAQ!

Revision history  [back]

Hello, in this case it will be necessary to use South migrations.

Here is the documentation http://south.aeracode.org/.

First thing, after you change code in the models, make a schema migration:

python manage.py schemamigration askbot --auto

Then apply the migration.

python manage.py migrate askbot

All migrations for askbot live in the directory askbot/migrations - you will need to edit your migration and the subsequent askbot's migration (when we make a new one)

The edit in the migration files is necessary to specify that your migration must run after the last current askbot's migration, and the next askbot's migration must run after yours.

Here is the document explaining how to deal with migration dependencies http://south.aeracode.org/docs/dependencies.html.

South has two types of migrations - schema migrations and data migrations. Schema migrations change the database schema, while data migrations only modify the data.

At Askbot we love South - cheers to the South devs! Definitely check out their django & python hosting service called ep.io it make django deployments real easy.

Hello, in this case it will be necessary to use South migrations.

Here is the documentation http://south.aeracode.org/.

First thing, after you change code in the models, make a schema migration:

python manage.py schemamigration askbot --auto

Then apply the migration.

python manage.py migrate askbot

All migrations for askbot live in the directory askbot/migrations - you will need to edit your migration and the subsequent askbot's migration (when we make a new one)

The edit in the migration files is necessary to specify that your migration must run after the last current askbot's migration, and the next askbot's migration must run after yours.

Here is the document explaining how to deal with migration dependencies http://south.aeracode.org/docs/dependencies.html.

South has two types of migrations - schema migrations and data migrations. Schema migrations change the database schema, while data migrations only modify the data.

At Askbot we love South - cheers to the South devs! Definitely check out their django & python hosting service called ep.io ep.io it make django deployments real easy.