Django

Code

Ticket #1006 (closed: fixed)

Opened 3 years ago

Last modified 2 years ago

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

Reported by: Gustavo Picon <gpicon@aureal.com.pe> Assigned to: adrian
Milestone: Component: Core framework
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

formfields.diff (0.9 kB) - added by Gustavo Picon <gpicon@aureal.com.pe> on 12/06/05 12:00:35.

Change History

12/06/05 12:00:35 changed by Gustavo Picon <gpicon@aureal.com.pe>

  • attachment formfields.diff added.

12/08/05 20:33:02 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #1006 ([patch] Errors when using ChangeManipulator in a model with raw_id_admin on ForeignKey)




Change Properties
Action