Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#10527 closed (fixed)

list_editable fails if field is not editable

Reported by: Florian Apolloner Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

list_editable fails if the requested field isn't editable via the admin interface, like:

creation_date = models.DatetimeField(auto_now_add=True)

To prevent those errors, I added another validation check which ensures the field is editable.

Attachments (1)

list_editable_validation.diff (2.1 KB ) - added by Florian Apolloner 15 years ago.

Download all attachments as: .zip

Change History (4)

by Florian Apolloner, 15 years ago

comment:1 by Alex Gaynor, 15 years ago

milestone: 1.1 beta1.1
Triage Stage: UnreviewedReady for checkin

comment:2 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

(In [10080]) Fixed #10530, #10527: added a couple more validation errors around list_editable. Thanks, Florian Apolloner.

comment:3 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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