tags:

views:

22

answers:

2

I just created all the db tables from one model with 6 classes.

In on of them I would like to add a NEW field

I did that and hit: python manage.py syncdb

But Django wont add that column in that table.

Am I missing something?

How can i add columns/tables AFTER I already created the db in Django.

Thanks

A: 

You need to use a migration tool such as South.

Ignacio Vazquez-Abrams
A: 

Chapter 10 of the Django book has a section called 'Making Changes to a Database Schema' with a sub-section titled 'Adding Fields'...

cpt_ahag
Thanks that was the "django-way" answer I was looking at yesterday.
MacPython