stacked inlines should add class "has_original" to existing fields
|Reported by:||jrief||Owned by:||ryankask|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In tabular inlines one can distinguish between new and existing fields, because existing fields add the class has_original to their form row.
In stacked inlines this is not possible, there no such class is added to div.inline-related. This is inconsistent with tabular inlines and makes it impossible to distinguish between new and existing fields.
This PR: https://github.com/django/django/pull/1865 fixes it.
Change History (6)
comment:1 Changed 3 years ago by akaariai
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted
comment:4 Changed 3 years ago by ryankask
- Owner changed from nobody to ryankask
- Status changed from new to assigned