Wednesday, August 5, 2015

Re: Passing parameters / attributes to javascript in a template

Thank you for your answers, everyone.
Alex, indeed I didn't know about the forloop last trick. It worked like a charm !
And Daniel, for some reasons I prefer not to mess with the views for now, but when if I need to clean up my code, I keep your answer in mind.

--
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d2259957-cb0d-4876-bda2-71599c0a854a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment