[Answered ]-Pass nested dictionary from views to template django

1👍

The context data has to be named properly if you want to use main_playlist on the template so:

return render(request, 'show_playlist.html', {"main_playlist": my_dictionary} )

Leave a comment