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
[0] https://github.com/django/django/blob/4122d9d3f1983eea612f236e941d937bd8589a0d/django/db/models/fields/related.py#L602
Le jeudi 26 septembre 2019 10:48:08 UTC+2, Davin Pore a écrit :
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9e6b6030-11ea-4007-aab5-6145f66bac96%40googlegroups.com.
No comments:
Post a Comment