Ticket #3515: 02-widget-outer-attrs-newforms-admin-fix.diff
File 02-widget-outer-attrs-newforms-admin-fix.diff, 602 bytes (added by , 17 years ago) |
---|
-
django/contrib/admin/widgets.py
=== modified file 'django/contrib/admin/widgets.py'
18 18 def __init__(self, verbose_name, is_stacked, attrs=None, choices=()): 19 19 self.verbose_name = verbose_name 20 20 self.is_stacked = is_stacked 21 super(FilteredSelectMultiple, self).__init__(attrs, choices )21 super(FilteredSelectMultiple, self).__init__(attrs, choices=choices) 22 22 23 23 def render(self, name, value, attrs=None, choices=()): 24 24 from django.conf import settings