Problem Django Data Retrive

29 views
Skip to first unread message

Fahim Ahmed

unread,
Oct 20, 2020, 7:33:16 PM10/20/20
to Django users
Hello,
This might be a silly question but as i am new i'm having trouble to my project.
I have a product page where i want to add multiple value of field name "Tag" .
So i had created a ManytoMany relationship . And i'm able to insert the data but i am having issue while i retrieve the data .

Model of product




This is the code i'm trying to get the value of tags:

product.html:




View.py





Here is multiple tag in the table . I want all the tag here separated with comma



Reply all
Reply to author
Forward
0 new messages