PyOoHtml works!

On Jul 28, 1:12 am, Nick Retallack <[EMAIL PROTECTED]> wrote:
> In Django, I was able to re-use template snippets like this:
>
> {% with your_things as those_things %}
> {% include 'things_gallery.html' %} {# displays those_things #}
> {% endwith %}
>
> {% with my_things as those_things %}
> {% include 'things_gallery.html' %}
> {% endwith %}
>
> However, I since I switched to appengine and implemented my app in
> webapp, I get this when I try to use those templates:
> TemplateSyntaxError: Invalid block tag: 'with'
>
> Can I add 'with' in somehow?  Is there some other way to re-use
> snippets?
> (Hm.  I suppose I could render the snippets first, and then pass them
> in as strings to their parent?)
>
> I'd happily switch to a different template language that would allow
> me to re-use snippets, but it looks like most template languages don't
> work on appengine.  There are postings on this board about how mako
> and genshi don't work.  What about tenjin?  I haven't got an appengine
> account yet -- can someone test tenjin out for me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to