#25114: ModelAdmin FK fields should default to raw_id
-------------------------------+--------------------
Reporter: vepkenez | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.admin | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Foreign key fields in the admin currently default to a behavior that can
cause crashing and user inconvenience.
The default behavior is to render a <select> element containing ''every''
instance of the model referred to by the FK.
When this field refers to a model that has for example, 100,000 or more
entries, this can have the affect of crashing a server, a browser, or at
best making new users confused about why they cannot view the admin page
for this instance.
Defaulting to raw_id is safer and more reliable in most cases and presents
minimal compromises in usability (in my opinion).
--
Ticket URL: <https://code.djangoproject.com/ticket/25114>
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/051.83ce5ebe6fa45c5ba2a23dd3a9b6c1eb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.