Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 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
Component: Core (Other) Version: master
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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@…> 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Gustavo Picon <gpicon@…>

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.