Matching blank entries in django queryset for optional field with corresponding ones in a required
- by gramware
I have a django queryset in my views whose values I pack before passing to my template. There is a problem when the queryset returns none since associated values are not unpacked. the quersyet is called comments.
Here is my views.py
def forums(request ):
post_list =…