You can also use the south application to manage migrations.
pip install south

Then add 'south' to the list of installed apps.

To start off you can do
./manage.py schemamigration --initial appname
./manage.py migrate appname

Then whenever you make a change to your models:
./manage.py schemamigration --auto appname # this will show the
changes and ask some questions...
./manage.py migrate appname


On Feb 8, 1:25 pm, Artyom Chernetzov <[email protected]> wrote:
> Thanks, everybody, problem was: I add ForeignKey field in object after
> dbsync. I just needed to reset database, it solve problem.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to