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
for more information look here:
https://docs.djangoproject.com/en/dev/topics/templates/
Enjoy!
Lukas
On 08/01/2013 01:14 PM, Harjot Mann wrote:
> In my project I have a view which renders to an html template but I
> want to render two templates at the same time from one view. How ca I
> do it??
>
--
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