#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 tomwardill):
I have seen this too.
In my case, I managed to pin it to an interaction between django-filer,
django-cms and the migrations framework.
If I had a FilerImageField on a model that inherited CMSPlugin and
attempted to migrate it, it would pull in a model in my code that had a
GenericForeignKey, leading to the same interaction as described in this
ticket.
I can validate that the sample code given here reproduces the issue in the
smallest case.
--
Ticket URL: <https://code.djangoproject.com/ticket/25040#comment:6>
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.870ee8b377828df4780ec1e6a9b66073%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.