stacked inlines should add class "has_original" to existing fields
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)
Triage Stage: |
Unreviewed → Accepted
|
Type: |
Uncategorized → New feature
|
Owner: |
changed from nobody to Ryan Kaskel
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
I've created a new pull request with a test for the fix: https://github.com/django/django/pull/2249 (the original pull request is here: https://github.com/django/django/pull/1865)