Tuesday, October 11, 2011

Still getting IntegrityError in test fixture using dumpdata --natural

Still getting "IntegrityError: columns app_label, model are not
unique" when loading a test fixture created by dumpdata using the
keyword --natural.

I am probably missing something, but I understood the resolution to
https://code.djangoproject.com/ticket/7052 to be to use the new --
natural keyword when doing the dumpdata:
https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-option---natural

I'm using Django 1.3.1.

So what am I missing?

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