#1006 closed defect (fixed)
[patch] Errors when using ChangeManipulator in a model with raw_id_admin on ForeignKey
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
>>> paf.activos.ChangeManipulator(3588)
Traceback (most recent call last):
...
File "/usr/lib/python2.3/site-packages/django/core/meta/fields.py", line 294, in get_manipulator_fields
return [man(field_name=field_names[i], **params) for i, man in enumerate(field_objs)]
TypeError: __init__() got an unexpected keyword argument 'member_name'
A patch is submitted.
Attachments (1)
Change History (2)
by , 20 years ago
| Attachment: | formfields.diff added |
|---|
comment:1 by , 20 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [1577]) Fixed #1006 -- Fixed error when using ChangeManipulator in a model with raw_id_admin on ForeignKey. Thanks, Gustavo Picon