_set.all() not working in Django Template returning AttributeError

后端 未结 0 1012
栀梦
栀梦 2020-12-21 08:39

I am trying to add the no. of comments related to a post in my Django Project. but I keep receiving a \'Post\' object has no attribute \'comment_set\' Attribute

相关标签:
回答
  • 消灭零回复
提交回复
热议问题