﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34345	Add system check for filter_horizontal/filter_vertical on ManyToManyFields with intermediary models.	David Pratten	Hrushikesh Vaidya	"Hi team,

I'm a huge fan of Django and have been using it since 0.95 but I stumbled over this one.

Neither of

- https://docs.djangoproject.com/en/4.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.filter_horizontal and 
- https://docs.djangoproject.com/en/4.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.filter_vertical

call out the requirement to **not** use   
{{{
ManyToManyField(through="""")
}}}

In the same way:
- https://docs.djangoproject.com/en/4.1/ref/models/fields/#django.db.models.ManyToManyField.through

doesn't call out the consequence that filter_horizontal and filter_vertical will stop working if one goes down the pathway of:

{{{
ManyToManyField(through="""")
}}}


I just wasted half a day chasing this down.
"	Cleanup/optimization	closed	contrib.admin	4.1	Normal	fixed		Natalia Bidart	Ready for checkin	1	0	0	0	0	0
