output string for template render object
hi all,
i have one question
return render_to_response(mainPageTemplate,
{'programs':find_program ,
'generate_html':generate_html,
'generate_script':generate_script
},
context_instance=RequestContext(request))
on the above return value. i have two parameter one is return string value with javascript and html components.
i have put the {% autoescape off %} as well to avoid conversation. but, i noticed it seems like can not capture the
html 's component that i specified in the generate_html. even javascript put at $(document).ready(function(){ }
is it i left out anything? thanks
Regards,
MH
-- You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home