#14362 closed (fixed)
ManyToManyRawIdWidget doesn't work with multidb
Reported by: | Germano Gabbianelli | Owned by: | Jannis Leidel |
---|---|---|---|
Component: | contrib.admin | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The init method of ManyToManyRawIdWidget is defined as follows:
def __init__(self, rel, attrs=None, using=None): super(ManyToManyRawIdWidget, self).__init__(rel, attrs, using=None)
It is completely ignoring the using
parameter (whatever will be passed to the method, it will pass None to the parent method).
Moreover this init method seems useless.
Attachments (1)
Change History (5)
by , 14 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 14 years ago
Has patch: | set |
---|
comment:2 by , 14 years ago
Status: | new → assigned |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 14 years ago
Note:
See TracTickets
for help on using tickets.
(In [13970]) Fixed #14362 -- Made sure all parameters are passed to the ManyToManyRawIdWidget. Thanks, tyron.