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
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/d40cf885-c040-4f16-85d2-fa13621b670en%40googlegroups.com.
No comments:
Post a Comment