Django RequestContext and JQuery.

14 views
Skip to first unread message

Kelechi Anyanwu

unread,
Mar 18, 2014, 11:52:48 AM3/18/14
to django...@googlegroups.com
Hi guys!
 
How do i use JQuery to loop through a chunk of Django RequestContext being returned to my template.

Please i need response!!

Thanks.

Mario Gudelj

unread,
Mar 18, 2014, 3:35:39 PM3/18/14
to django...@googlegroups.com

Return your context in json format, load it into js var and then use .each() on it.

--
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...@googlegroups.com.
To post to this group, send email to django...@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/53b81615-a7b0-400c-8a32-a0efef5ebddb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages