﻿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
24185	Inline object in TabularInline.get_readonly_fields	Zach Borboa	nobody	"The `TabularInline.get_readonly_fields` method should be able to programmatically determine the fields that will be displayed as read-only based on the inline object passed as the keyword argument `instance_obj`.

{{{#!python
ModelAdmin.get_readonly_fields(request, obj=None)
}}}

`obj` is not the inline object, it's the parent. Ideally, both the parent and the inline object are available:

{{{#!python
ModelAdmin.get_readonly_fields(request, obj=None, instance_obj=None)
}}}"	Uncategorized	closed	contrib.admin	dev	Normal	duplicate		Zach Borboa	Unreviewed	0	0	0	0	0	0
