#17856: Pass "obj" parameter to get_inline_instances
-------------------------------+------------------------
     Reporter:  ybon           |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  contrib.admin  |    Version:  1.4-beta-1
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  1
Easy pickings:  0              |      UI/UX:  0
-------------------------------+------------------------
 In the 1.4 rc1 release, a get_inline_instances method has been added in
 [source:/django/trunk/django/contrib/admin/options.py#L348 contrib.admin].

 This method does not accept the "obj" parameter.

 This is not consistent with the other methods of `ModelAdmin`:
 - get_formset
 - get_form
 - get_fieldsets
 - get_prepopulated_fields
 - get_readonly_fields

 My opinion is that the faster we make this change, the less painful it
 will be in the future.

 A patch is provided.

 (Discussion in [http://groups.google.com/group/django-
 developers/browse_thread/thread/19e8704d905297e7 this thread].)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17856>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to