Thursday, November 24, 2011

converting to a template

I have a python script in which I am building up an html page, and
then making a call to HttpResponse(html) to show the page.


Now I want to start to using templates, but this is not as easy as I
hoped because my html contains a table with a lot of information, and
I don't know how to make function calls from the template.

Are there any clear examples of how to dynamically create a table from
within a template?

Many thanks

Mark

--
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.

No comments:

Post a Comment