#25040: #get_related_models_recursive cannot digest a Model with a GenericFK
-------------------------------------+-------------------------------------
Reporter: kairichard | Owner:
| kairichard
Type: Uncategorized | Status: assigned
Component: Migrations | Version: 1.8
Severity: Normal | Resolution:
Keywords: migrations generic | Triage Stage:
fk | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by kairichard):
The Exception is the same as when i run the above example.
Up until now i have been unable to reproduce the root cause, so I will
explain what I have "seen" so far. (Fairly large project)
While walking the related_models in `_related_models` there is a relation
that returns a real model
for `related_model` instead of the `__fake__` one. Also I am seeing the
meta containing the `django.app` registry instead of the `state.apps` any
idea how to might end up there?
--
Ticket URL: <https://code.djangoproject.com/ticket/25040#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.13417f888bb845640721d319533ba574%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.