Monday, March 24, 2014

Re: loaddata not looking for natural keys

Ok, problem resolved.

I must have done something else wrong the last time I did loaddata, because I tried the whole sequence again with the natural_keys as tuples, and it all worked.

Sorry to bother the list so much.

But to summarize, natural_keys must be tuples, not single unicode values.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/29732733-a521-45c4-b609-bae4cd92155b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment