1👍
✅
First off, you really should only use raw if you are doing a query that cant be done with the orm. What you wanted was
product_description = Product.objects.filter(product_name='abcdef').values('product_description')
Secondly, you are passing a queryset to your template. You need to do something with it…maybe create a list with all the products descriptions by looping through the queryset?
Source:stackexchange.com