id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 27755,add ModelAdmin.get_inlines() hook to allow set inlines based on the request or model instance.,WeizhongTu,Hasan Ramezani,"add ModelAdmin.get_inlines() hook to allow set inlines based on the request or model instance. Currently, We can override the method `get_inline_instances` to do such a thing, but a for loop should be copied to my code. So I wished add a hook `get_inlines(request, obj=None)` ",New feature,closed,contrib.admin,dev,Normal,fixed,"django,admin,inlines",,Ready for checkin,1,0,0,0,0,0