          self.is_stacked = is_stacked
          super(FilteredSelectMultiple, self).__init__(attrs, choices)
  
      def render(self, name, value, attrs=None, choices=()):
          from django.conf import settings
          output = [super(FilteredSelectMultiple, self).render(name, value, attrs, choices)]
          output.append(u'<script type="text/javascript">addEvent(window, "load", function(e) {')
          # TODO: "id_" is hard-coded here. This should instead use the correct
          # API to determine the ID dynamically.
          output.append(u'SelectFilter.init("id_%s", "%s", %s, "%s"); });</script>\n' % \
 
</s> remove         from django.conf import settings
 </s> add  </s> remove         from django.conf import settings
 </s> add  </s> remove         from django.conf import settings
 </s> add 
          self.is_stacked = is_stacked
          super(FilteredSelectMultiple, self).__init__(attrs, choices)
  
      def render(self, name, value, attrs=None, choices=()):

          output = [super(FilteredSelectMultiple, self).render(name, value, attrs, choices)]
          output.append(u'<script type="text/javascript">addEvent(window, "load", function(e) {')
          # TODO: "id_" is hard-coded here. This should instead use the correct
          # API to determine the ID dynamically.
          output.append(u'SelectFilter.init("id_%s", "%s", %s, "%s"); });</script>\n' % \
keep keep keep keep replace keep keep keep keep keep
 Fixed #7828 -- Removed some unnecessary imports from admin widgets. Thanks to Julien for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@7974 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/contrib/admin/widgets.py