Pass and View Dictionary from view to template in django
问题 I am passing the dictionary to the view but it is now showing on the page. i also have print the dictionary on the before passing, and it prints the whole dictionary on the screen perfectly. but when i pass it to the html page, it does not show at all.. view.py def show_log_messages(request): context = RequestContext(request) log_dictionary = {} count = 0 e = log_messages.objects.filter(log_status='Queue').values('sent_to', 'unique_arguments') count = 0 logs = {} for d in e: count +=1 new