share_string = quote_plus(instance.content)
context = {'title': 'detail ', 'instance': instance, 'share_string':
    share_string, 'tags': tags}
return render(request, 'posts/post_detail.html', context)
How do I loop through results and store them in a list so I can use them in my Django template