On 2/20/07, kbochert <[EMAIL PROTECTED]> wrote:
>
>
>
> On Feb 19, 5:27 pm, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote:
> > > All I can think of is to create a new model, say Poll1,  with the
> > > correct fields, do a syncdb, write and execute a python function to
> > > transfer the data from Poll to Poll1, do a DROP TABLE on Poll, create
> > > a new table named Poll, do a syncdb transfer the data from Poll1 to
> > > Poll with a python fct. and DROP TABLE Poll1.
> >
> > Can't you simply use "ALTER TABLE ADD COLUMN" on the db?
> >
> I suppose I must also add the field to my model so admin can see it.
> Does it matter where that line is added amongst the existing lines?

no, django does not rely on field ordering when querying database...

>
>
> > Back it up first, obviously.
> What, me make a mistake? :-)
>
> Thanx
> Karl
>
>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

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