<gh_stars>1-10
from django.contrib.admin.widgets import FilteredSelectMultiple
from django.utils.safestring import mark_safe

class PickerFilterSelectMultiple(FilteredSelectMultiple):
    """
    A SelectMultiple for admin that works with the auto generated form fields
    from conduit.picker.js
    
    """
    
    def render(self, name, value, attrs=None, choices=()):
        if attrs is None: attrs = {}
        attrs['class'] = 'selectfilter'
        if self.is_stacked: attrs['class'] += 'stacked'
        output = [super(FilteredSelectMultiple, self).render(name, value, attrs, choices)]

        return mark_safe(u''.join(output))

from django.contrib.admin.widgets import FilteredSelectMultiple
from django.utils.safestring import mark_safe

class PickerFilterSelectMultiple(FilteredSelectMultiple):
    """
    A SelectMultiple for admin that works with the auto generated form fields
    from conduit.picker.js
    
    """
    
    def render(self, name, value, attrs=None, choices=()):
        if attrs is None: attrs = {}
        attrs['class'] = 'selectfilter'
        if self.is_stacked: attrs['class'] += 'stacked'
        output = [super(FilteredSelectMultiple, self).render(name, value, attrs, choices)]

        return mark_safe(u''.join(output))
A SelectMultiple for admin that works with the auto generated form fields     from conduit.picker.js