Re: Rendering only parts of a template

2010-04-16 Thread Georg Holzmann
Okay, I found now the article by Adrian Holovaty: http://www.holovaty.com/writing/django-two-phased-rendering/ He implemented a {% raw %} template tag and everything between {% raw %} and {% endraw %} won't be rendered ... which is quite nice, so I can render part of my template on the server, and

Rendering only parts of a template

2010-04-15 Thread Georg Holzmann
Hallo! I would like to ask, if it is possible to render just a part of a Django template, and if yes how ? In especially I only want to render the localization on the server (everything which is in {% trans "Something to translate" %}), then send the translated django template to the client. Ther