stacked inlines should add class "has_original" to existing fields
|Reported by:||Jacob Rief||Owned by:||Ryan Kaskel|
|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
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|