Re: Generate template files, lazy-loading

2010-12-29 Thread Guax3
e is_cached_output_available() function will check if we have some output > cached, and nothing has changed since we cached the output. > > Regards, > Mayuresh > > http://twitter.com/geeroohttp://twitter.com/django_updates > > On Monday, December 27, 2010 8:08:40 PM UTC+5:30,

Generate template files, lazy-loading

2010-12-27 Thread Guax3
I have a template in where I load a set of questions for a a questionnaire, and each question has a set of options all this information is retrieved from a database. so there's one for to questions and another for to options, that gives: {% for question in questionnaire %} {{forloop.counter}}