Hi Kasper,
-- Thanks for your findings.
It is working now as per your suggestion.
Regards
JayaramN
On Wednesday, February 28, 2018 at 11:41:27 PM UTC+5:30, Kasper Laudrup wrote:
On Wednesday, February 28, 2018 at 11:41:27 PM UTC+5:30, Kasper Laudrup wrote:
Hi Jayaram,
On 2018-02-28 15:45, Jayaram Namburaj wrote:
>
> When running the url http://127.0.0.1:8000/myapp/exRenderDict/ output
> doesn't display the values which is from the for loop.
You named your list 'MyListArg' not 'mylist' in the dictionary you
passed to the render function.
Try changing this:
{% for val in mylist %}
To:
{% for val in MyListArg %}
That should hopefully fix it. I haven't tested it though.
Kind regards,
Kasper Laudrup
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/db812e3d-6d34-4907-97ee-a4ad98a41fec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment