#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)
Change History (4)
by , 16 years ago
Attachment: | list_editable_validation.diff added |
---|
comment:1 by , 16 years ago
milestone: | 1.1 beta → 1.1 |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [10080]) Fixed #10530, #10527: added a couple more validation errors around
list_editable
. Thanks, Florian Apolloner.