﻿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
8292	InlineModelAdmin not honoring filter_horizontal	David A Krauth	Brian Rosner	"One would expect the `filter_horizontal` / `filter_vertical` admin options to   
function with the `InlineModelAdmin` classes for generic relationships   
`in contenttypes.generic`. 

Considering the code snippet below, I would have expected the nice javascript 
dual-picklist interface instead of the plain, single multiselect input. 

Sample models.py file:
 
{{{
#!python
from django.db import models 
from django.contrib.auth.models import User 
from django.contrib import admin 
from django.contrib.contenttypes import generic 
from django.contrib.contenttypes.models import ContentType 

class GenericDocument(models.Model): 
    title = models.CharField(max_length=100) 
    authors = models.ManyToManyField(User, blank=True) 
    content_type = models.ForeignKey(ContentType) 
    object_id = models.PositiveIntegerField() 
    content_object = generic.GenericForeignKey() 

class Publisher(models.Model): 
    name = models.CharField(max_length=50) 
    articles = generic.GenericRelation(GenericDocument) 

class GenericDocumentInline(generic.GenericStackedInline): 
    model = GenericDocument 
    filter_horizontal = ('authors', ) 

class PublisherAdmin(admin.ModelAdmin): 
    list_display = ('name', ) 
    inlines = [GenericDocumentInline] 

admin.site.register(Publisher, PublisherAdmin)
}}}"		closed	contrib.admin	dev		fixed			Accepted	0	0	0	0	0	0
