Changes between Initial Version and Version 2 of Ticket #29332
- Timestamp:
- Apr 17, 2018, 8:07:08 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29332
- Property Resolution → duplicate
- Property Status new → closed
- Property Summary AdminReadOnly field accepts the optional argument model_admin but treats it as non-optional → AdminReadonlyField accepts the optional argument model_admin but treats it as non-optional
-
Ticket #29332 – Description
initial v2 1 Using a FieldSet without providing a `model_admin` results in an error since AdminReadOnlycalls: `model_admin.get_empty_value_display()`.1 Using a FieldSet without providing a `model_admin` results in an error since `AdminReadonlyField` calls: `model_admin.get_empty_value_display()`. 2 2 3 3 My expected behaviour is that it does not error, and sets the `empty_value_display` to the empty string.