Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Lakshyaraj Dash
Try onetomany relationship On Thu, Nov 17, 2022, 19:51 Sagar Singh wrote: > i created three model relation table > > onetoone() > manytoone(foreignkey) > manytomanyfield() > > i try to show data of manytpmany field on admin panel but they give error > > 'type' object is not subscriptable > > --

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Chukwudi Onwusa
Use Win Key + prt SC To screenshot of you are using windows 10 OS On Mon, Nov 21, 2022, 14:55 Chukwudi Onwusa wrote: > Your screenshots are not clear enough. > > On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote: > >> i created three model relation table >> >> onetoone() >> manytoone(foreignkey)

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Chukwudi Onwusa
Your screenshots are not clear enough. On Thu, Nov 17, 2022, 15:21 Sagar Singh wrote: > i created three model relation table > > onetoone() > manytoone(foreignkey) > manytomanyfield() > > i try to show data of manytpmany field on admin panel but they give error > > 'type' object is not

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Toshar Saini
you don't show many to many field in list_display on admin panel On Thu, Nov 17, 2022 at 7:51 PM Sagar Singh wrote: > i created three model relation table > > onetoone() > manytoone(foreignkey) > manytomanyfield() > > i try to show data of manytpmany field on admin panel but they give error > >