Re: Force ContentType id
Thank you,
your explanation was very clear and useful.
> > Or, is there a way to run a syncdb to apply changes without losing
> > data?
Our software product is under development and sometimes we have the
need to change a model definition (e.g. rename a field or change its
definition):
is there a way to make syncdb understand that the model has changed
and then make all necessary 'ALTER TABLE' queries?
I found some topics about tools such as 'django evolution' but I was
wondering if Django itself provides a simpler way to make simple
alterations...
Thanks,
Donato
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home