On Dec 11, 12:21 pm, Zeynel <azeyn...@gmail.com> wrote:
> Ok. What else do I need to do after uploading the new models.py with
> new fields to the server and run manage.py syncdb?
>

syncdb will not alter an existing database. You can run it (it won't
hurt) but it won't insert the new fields. You'll need to go to your
database, either through the command line or through a tool like
phpmyadmin and add the new fields manually. You can, however, run
manage.py sql YOURAPP to see what the table should look like.

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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