Commit 6d30b284 authored by Jannis Leidel's avatar Jannis Leidel
Browse files

[1.2.X] Fixed #14362 -- Made sure all parameters are passed to the...

[1.2.X] Fixed #14362 -- Made sure all parameters are passed to the ManyToManyRawIdWidget. Thanks, tyron.

Backport from trunk (r13970).

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a0cabd76
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -163,9 +163,6 @@ class ManyToManyRawIdWidget(ForeignKeyRawIdWidget):
    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: