#17881: Implement BaseModelAdmin.get_raw_id_fields, similar to 
get_readonly_fields
-------------------------------+--------------------------------------
     Reporter:  aaugustin      |                    Owner:  nobody
         Type:  New feature    |                   Status:  new
    Component:  contrib.admin  |                  Version:  1.4-beta-1
     Severity:  Normal         |               Resolution:
     Keywords:  raw_id_fields  |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  1
  Needs tests:  1              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by romgar):

 I was wondering the other day why the default Django admin widget for
 related fields is a drop-down by default, instead of an autocomplete (as
 we can have with `raw_id_field` option), when my Django admin page was
 crashing down.
 I understand that it's more convenient with a drop-down when you have few
 data, but there is a real risk for Django to crash / expose a lot of data
 through this feature, and that's not what we are used to with Django.
 Usually, default choices in the whole framework are "safe".
 @aaugustin, I guess you are not working on it right now, as this ticket is
 4 years old.
 Do you think it make sense to change this default behaviour, or it has too
 many impacts?

--
Ticket URL: <https://code.djangoproject.com/ticket/17881#comment:7>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.5903adc38a3c9b5d7464bcb09b84a673%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to