readonly_fields in GenericInlineModelAdmin are ignored during save
Fields defined in readonly_fields property in GenericStackedInline class are properly displayed as readonly elements. But during save is readonly_fields property ignored, so all values for those fields are saved with empty value.
Note to attached patch:
Fields in 'exclude' properly are handled properly, so I joined them together with readonly_fields.
milestone: |
→ 1.2
|
Needs tests: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Version: |
→ SVN
|
Patch needs improvement: |
set
|
Patch needs improvement: |
unset
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
patch for correct readonly_fields save