If you mean you added a field after creating a model class table you need
to generate the sql statement for the new field only( for hint , django
will generate automatically if you do python manage.py sql appname and see
the sql) in a file and execute that file .

Let say you have xyz.sql just run that file.The table/database will be
updated.
I hope this info might help you !!!!!

On Thu, Jun 7, 2012 at 11:35 PM, Kevin Anthony <kevin.s.anth...@gmail.com>wrote:

> Use south
>
> Kevin
> Please excuse brevity, sent from phone
> On Jun 7, 2012 2:05 PM, "Robert Steckroth" <robertsteckr...@gmail.com>
> wrote:
>
>> Hey Gang, is there a way to update the database with a syncdb or
>> other command after a model has been changed? I added a field
>> the the model after the syncdb.
>>
>>
>> --
>> Bust0ut, Surgemcgee: Systems Engineer ---
>> PBDefence.com
>> BudTVNetwork.com
>> RadioWeedShow.com
>> "Bringing entertainment to Unix"
>>
>> --
>> 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
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>  --
> 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
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Regards
Nikhil Verma
+91-958-273-3156

-- 
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 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to