Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1006 closed defect (fixed)

[patch] Errors when using ChangeManipulator in a model with raw_id_admin on ForeignKey

Reported by: Gustavo Picon <gpicon@…> 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)

formfields.diff (968 bytes ) - added by Gustavo Picon <gpicon@…> 19 years ago.

Download all attachments as: .zip

Change History (2)

by Gustavo Picon <gpicon@…>, 19 years ago

Attachment: formfields.diff added

comment:1 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

(In [1577]) Fixed #1006 -- Fixed error when using ChangeManipulator in a model with raw_id_admin on ForeignKey. Thanks, Gustavo Picon

Note: See TracTickets for help on using tickets.
Back to Top