On Tue, 2008-04-15 at 23:38 -0700, sector119 wrote: > On Apr 15, 8:39 pm, Michael <[EMAIL PROTECTED]> wrote: > > manage.py syncdb doesn't create new columns into tables. If you already have > > the tables installed and you wish to add another column you are going to > > have to do this with SQL directly. There are a few projects out there that > > intend to fix this; search this forum a bit and you can probably find links. > > > > This is expected behavior and would act the same throughout all the > > branches, trunk and releases. > > Michael, no, I do not expect that manage.py sqlall (not syncdb) will > generate SQL ALTER statements for me, manage.py sqlall have to show > CREATE TATBLE SQL queries and have to show columns from model C, but > it don't, only columns from A and B models are shown in create table > statement for my table!
I can't repeat this at all. Can you please construct a very small example that demonstrates the problem you are seeing so we can test it. Regards, Malcolm -- Honk if you love peace and quiet. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---