On Mon, Sep 17, 2012 at 8:14 AM, Satinderpal Singh <satinder.goray...@gmail.com> wrote: > I want to extend a template file into the other file. I get fine > results when done simply but whenever I use the template containing > 'for' tag into the other, it does not show any results. > My code for template which is to be extended is here : > > #template file to be extended into the other > <body> > <div id="header"> > {% block header %} > > {% for organisations in organisation %}
Is this just a logic fail? Is 'organization' a list of organizations? Or should this be 'for organization in organizations'? Cheers Tom -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.