#26304: Unable to use unmanaged ManyToMany through models when backed by a View.
-------------------------------------+-------------------------------------
Reporter: schinckel | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by MarkusH):
> I believe that this can be resolved by only adding those many-to-many
fields that do not have a through model marked as unmanaged.
Don't you run into an issue if the rows on either end of the M2M field are
truncated but the rows in the through table still exist pointing to
nowhere, which effectively would blow up with broken foreignkey
constraints?
--
Ticket URL: <https://code.djangoproject.com/ticket/26304#comment:3>
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/067.d6c92b0499932075b2a722d6dc70f7bc%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.