0
class StudentsTeacher(admin.TabularInline):
form = StudentsTeacher
model = StudentsTeacher
class Teacher_Admin(admin.ModelAdmin):
inlines = (StudentsTeacher,)
我想在StudentsTeacher中添加一個查詢集並使用過濾器進行選擇,但它不起作用,內聯總是顯示所有內容。如何在Django管理內聯過濾
對不起,我是指過濾器內聯顯示器 –