#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:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by aaugustin):

 * has_patch:  0 => 1


Comment:

 I'm uploading an untested patch showing the idea.

 It'd be nice if `get_raw_id_fields` accepted an optional `obj` argument,
 but apparently, this information isn't available in the `formfield_for_*`
 methods. This needs more investigation.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17881#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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to