Opened 15 years ago
Last modified 13 years ago
#12481 closed
admin readonly_fields not working with fieldsets — at Initial Version
Reported by: | Tim Miller | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 1.2-beta |
Severity: | Keywords: | ||
Cc: | Jannis Leidel | 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
Using readonly_fields makes the model field visible in admin but specifying it in a fieldset errors out.
'PostAdmin.fieldsets[1][1]['fields']' refers to field 'date_modified' that is missing from the form.
Note:
See TracTickets
for help on using tickets.