darren wrote:
> I upgraded django version from (not exactly sure) about 1.0 to 1.2.
> After doing so, if I run manage.py syncdb, I get messages saying I
> need to add unique constraints. I added "unique=True" to the columns
> in the model that were indicated. However, I continue to get the
> messages. That didn't turn out to be what I wanted anyway because I
> couldn't add additional records due to those constraints.
Are the fields that it requires unique for, foreign keys? Or do they
have db_index set?
This may very well be caused by:
http://code.djangoproject.com/ticket/11702
If this doesn't help, it would be helpful to see your models.py.
cheers,
Erik
--
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.
No comments:
Post a Comment