Django Foreign Object

226 views
Skip to first unread message

Davin Pore

unread,
Sep 26, 2019, 4:48:08 AM9/26/19
to Django users
What is the meaning of the this error because the value of these attributes are in string.


cap1.JPG

Simon Charette

unread,
Sep 26, 2019, 4:53:38 AM9/26/19
to Django users
This error comes from ForeignObject.resolve_related_fields[0].

If you are using ForeignObject directly you have an incompatible from_fields and to_fields
definition. It's hard to debug further without the full traceback.

Cheer,
Simon

Davin Pore

unread,
Sep 26, 2019, 10:51:51 PM9/26/19
to Django users
I'm using the characters for both from_fields and to_fields.
Reply all
Reply to author
Forward
0 new messages