Try onetomany relationship
On Thu, Nov 17, 2022, 19:51 Sagar Singh <sagarsingh9136@gmail.com> wrote:
i created three model relation tableonetoone()manytoone(foreignkey)manytomanyfield()i try to show data of manytpmany field on admin panel but they give error'type' object is not subscriptable--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5054dcaa-d896-487c-8dee-177d281049cen%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAF7qQgDTBnGB5oftLxYn9_ncfmRe6LxS4vuOG3cz%3DrxgBZK5MA%40mail.gmail.com.
No comments:
Post a Comment