#34345: Add system check for filter_horizontal/filter_vertical on
ManyToManyFields
with intermediary models.
--------------------------------------+------------------------------------
Reporter: David Pratten | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 4.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Mariusz Felisiak):
* component: Documentation => contrib.admin
* stage: Unreviewed => Accepted
Comment:
What do you think about raising `admin.E013` in this case?
''"fields[n]/fieldsets[n][m]/filter_vertical[n]/filter_horizontal[n]
cannot include the ManyToManyField <field name>, because that field
manually specifies a relationship model."''
--
Ticket URL: <https://code.djangoproject.com/ticket/34345#comment:2>
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 view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701865e157556-58ac9b5b-e55a-4086-8deb-a48f162b97b4-000000%40eu-central-1.amazonses.com.