#36498: Inline button to add first / only related instance should say "Add ...",
not "Add another ..."
--------------------------------------+------------------------------------
Reporter: Denis Washington | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: inline | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
--------------------------------------+------------------------------------
Changes (by Antoliny):
* stage: Unreviewed => Accepted
* type: Bug => Cleanup/optimization
Comment:
I agree with this proposal as well.
When `extra=0` is set and there are no related objects connected via
Inline, I feel that the button to add an InlineForm should say "Add
{model_name}", as that is the more appropriate expression.
As you mentioned, this is especially true in cases like a `OneToOneField`,
where only a single object can be added.
--
Ticket URL: <https://code.djangoproject.com/ticket/36498#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070197e849db04-3484215f-fd27-47c4-98aa-1285fdd462a4-000000%40eu-central-1.amazonses.com.