Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#10527 closed (fixed)

list_editable fails if field is not editable

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


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 apollo13 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by apollo13

comment:1 Changed 7 years ago by Alex

  • milestone changed from 1.1 beta to 1.1
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 7 years ago by jacob

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

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

comment:3 Changed 5 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

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