On 5/14/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> On 5/14/07, sandro dentella <[EMAIL PROTECTED]> wrote:
> >
> > I produced the example (2 field, 2 models, 2 records!)
> > I opened ticket  http://code.djangoproject.com/ticket/4288
> > but now I cannot add files due to InternalError of the trac system!
> > So I put it here: http://www.e-den.it/misc/fixture_failing.tgz
> >
> > Anyhow my understanding is that is all due to the ForeignKey that
> > points
> > to a field NOT the primary key (unique in my real model). The same
> > example
> > can be modified to point to  the primary id (serial) and it works.
>
> Yes, this seems to be the problem. The serializer doesn't currently
> handle to_field as a special case. I'll work on a fix.

FYI - I just committed a fix as [5232].

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to