On Thu, Aug 1, 2013 at 6:10 PM, Lukas Nemec <lu.nemec@gmail.com> wrote:
> Well, after some consideration,
>
> result of a view is rendered HTML page which you send to browser,
>
> what do you mean by rendering multiple templates?
> are you talking about template inheritance = one root template which all
> other templates use?
>
> in that case, use {% extends 'root.html' %} tag,
> or are you talking about splitting your big template into a few smaller?
> in that cas, use {% include 'page.html' %} tag
No, I didn;t mean that.
Actually I have a function in views.py file which is hitting an html
file like this:
"return render_to_response('tcc/suspence_bill.html', dict(\
template.items() + tmp.items()), context_instance =
RequestContext(request))"
here I want to return two html templates from this function.
--
Harjot Kaur Mann
Blog: http://harjotmann.wordpress.com/
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment