Sorry, sector119, I misread a few things last night and didn't quite get
what you were asking. I glad to see that you have things worked out.

On Wed, Apr 16, 2008 at 2:38 AM, sector119 <[EMAIL PROTECTED]> 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!
>
>
> > Hope that helps,
> >
> > Michael
> >
> > On Tue, Apr 15, 2008 at 10:52 AM, sector119 <[EMAIL PROTECTED]> wrote:
> >
> > > I have already created models A and B and tables with trunk, now I
> > > installed qs-rf branch and make C model inharit from already created
> > > A, B models, but when I run manage.py sqlall my_app_with_C_model I do
> > > not see any columns from C model :(
> >
> > > But everything works fine if I create all models from scratch..
> >
> > > Any thoughts?
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to