On 10/11/11 Asif Jamadar said:

> Suppose I have choicefield in my django model which consist of several
> choices. Now in future if I changed the existing choice (option) with some
> other name (choice), then whether the existing records in model with that
> choice(option)  will also change? Or In admin page I need to set that new
> option manually?
> 
> How can I achieve this?

What you're talking about is database migration, and it is not automatic.

You can do it manually, automate it in a variety of ways that you implement
yourself, or use a migration framework like django-south.

http://south.aeracode.org/

Mike

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