Author: jezdez
Date: 2010-09-30 21:40:01 -0500 (Thu, 30 Sep 2010)
New Revision: 13974

Modified:
   django/branches/releases/1.2.X/django/contrib/admin/widgets.py
Log:
[1.2.X] Fixed #14362 -- Made sure all parameters are passed to the 
ManyToManyRawIdWidget. Thanks, tyron.

Backport from trunk (r13970).

Modified: django/branches/releases/1.2.X/django/contrib/admin/widgets.py
===================================================================
--- django/branches/releases/1.2.X/django/contrib/admin/widgets.py      
2010-10-01 02:39:45 UTC (rev 13973)
+++ django/branches/releases/1.2.X/django/contrib/admin/widgets.py      
2010-10-01 02:40:01 UTC (rev 13974)
@@ -163,9 +163,6 @@
     A Widget for displaying ManyToMany ids in the "raw_id" interface rather 
than
     in a <select multiple> box.
     """
-    def __init__(self, rel, attrs=None, using=None):
-        super(ManyToManyRawIdWidget, self).__init__(rel, attrs, using=None)
-
     def render(self, name, value, attrs=None):
         attrs['class'] = 'vManyToManyRawIdAdminField'
         if value:

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to