Re: Generic Foreign Keys in fixtures
On Thu, Mar 24, 2011 at 2:29 PM, Simone Dalla <simodalla@gmail.com> wrote:
>
> maybe option --natural
> http://docs.djangoproject.com/en/1.3/ref/django-admin/#dumpdata-appname-appname-appname-model
>
Natural keys were introduced in 1.2. How would you do this in 1.1?
Or maybe there's a cleaner answer when the problem is re-stated:
How can you use dumpdata and loaddata to dump and reload fixtures when
you're using generic foreign keys?
(I work with the OP, so I'm not hijacking the thread).
Thanks,
Shawn
--
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