Code

Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#907 closed defect (fixed)

forms.txt: new_data = place.__dict__ fails for ManyToManyFields

Reported by: garthk Owned by: jacob
Component: Documentation Version:
Severity: normal Keywords: new-admin
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

new_data = ob.__dict__ doesn't work for models with a ManyToManyField.

Attachments (1)

907.diff (2.0 KB) - added by garthk 9 years ago.
Documentation fix

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by garthk

Documentation fix

comment:1 Changed 9 years ago by rjwittams

  • Keywords new-admin added

This should be fixed in new-admin, have you read NewAdminChanges?

Specifically, you should be doing new_data = manipulator.flatten_data()

This will be merged soon.

comment:2 Changed 9 years ago by rjwittams

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

Fixed in new-admin merge.

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.