I'm wondering why the "model_admin" for an inline formset is the parent model_admin, and not the inline model admin? Given that the inline admin is passed as "inline", and stored as "opts" in the in InlineAdminFormSet, I'm wondering if "opts" needs to be passed in the "model_admin" slot to subobjects. After all, these objects use the model_admin to look up objects, and yet they are using the form from the inline. This causes problems -- e.g. -- for AdminReadonlyField.contents, when it tries to look up contents for the field of the subobject but uses the model admin of the parent object.
I almost immediately opened a ticket on this, but since its so systematic, I'm wondering if there is some rationale for the way it is done? Thanks, -- Shaun Cutts -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.