[Answered ]-Access args in render function in django

2đź‘Ť

âś…

What you’re calling “args,” Django calls the “context.”

You don’t need to refer to context items as dictionary keys. So rephrasing your template tag like this should be all you need to make it work:

{% for message in messages %}

👤Ivan

Leave a comment