On Mon, Oct 5, 2009 at 4:43 PM, Serdar <[email protected]> wrote:

>
> Sqlite doesn't allow you to modify columns -- only add them, correct?
> If that's the case, I think I'll have to add the column using SQL, and
> then map to it in my model defintion, right?
>
>
I don't know, I don't do much with sqlite except casual testing.  But yes,
if it doesn't allow you to modify the column after creation then you'll have
to add it after creating the table and then adjust your Django model too
match.  Or don't use syncdb but rather take and alter the SQL output you
posted earlier and manually create the table in sqlite to match what you
want. Or there are probably other ways....

Karen

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