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
>
> --
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)
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
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
>
>
4 matches
Mail list logo