#9071: Can't disable "add" popup links in the admin
-------------------------------+---------------------------------------
Reporter: Jacob | Owner: Dario Ocles
Type: New feature | Status: closed
Component: contrib.admin | Version: 1.0
Severity: Normal | Resolution: worksforme
Keywords: pyconuk | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 1
-------------------------------+---------------------------------------
Comment (by Ryan Castner):
I know this was closed due to inactivity and the ease of doing this, but I
feel like the solution, while working and simple is not obvious and
requires knowledge of the internals of how the admin works to figure out.
A documented setting to attach to model admin like disable_add_related =
('field_name', ...) seems like it would be a better solution.
The purpose of this is for non-technical admins who should have the
ability to add a user but would be confused by the ability to add new
users inline while modifying a page, likely if you are creating a new
model with a foreign key to 'user' for instance, you don't want to be
creating a new user at that time, so displaying the option can only serve
to confuse the user
--
Ticket URL: <https://code.djangoproject.com/ticket/9071#comment:26>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/063.3c42b7189a3a966c803fdb635b56526f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.