when use tag with in template file,is shows error:

TemplateSyntaxError at /time/
Invalid block tag: 'with'
???
On Jan 14, 5:23 am, Niels <[EMAIL PROTECTED]> wrote:
> > but the following, in my opinion better version, is not supported:
>
> > 2)      {{ foo="hello world" }}  or  {{ bar=77 }}
>
> James correctly pointed out this is an intentional limitation.
> However, if you really want to, you can do things like
> {% with "hello world" as foo %}
> {{ foo }}
> {% endwith %}
>
> Regards,
>
> Niels
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to