diff options
| author | Jannis Leidel <jannis@leidel.info> | 2010-10-01 02:40:01 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2010-10-01 02:40:01 +0000 |
| commit | 6d30b2847c6002bda76210045e449b89d1da8d8e (patch) | |
| tree | 8a6f592cb75b59014fa7ddbf7de592febc97c059 | |
| parent | a0cabd766f9cbbf776e3a776a9eb41265502864d (diff) | |
[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
| -rw-r--r-- | django/contrib/admin/widgets.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/django/contrib/admin/widgets.py b/django/contrib/admin/widgets.py index 5832f82253..5a7ad959d6 100644 --- a/django/contrib/admin/widgets.py +++ b/django/contrib/admin/widgets.py @@ -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: |
