Unable to Access Dictionary content in Templates

shailesh6363

Shailesh Waghole

Posted on March 30, 2020

Unable to Access Dictionary content in Templates

Liquid syntax error: Tag '{%
def home_view(request):
my_dist={"hello moto":"Motorols","text":123}
return render(request,"home.html",my_dist)

def facebook(request):

return render(request,"base.html")

This is my home.html:

{{ home_view.my_dist }}

%}' was not properly terminated with regexp: /\%\}/

💖 💪 🙅 🚩
shailesh6363
Shailesh Waghole

Posted on March 30, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related