On Jan 12, 2008 5:25 PM, Roberto Saccon <[EMAIL PROTECTED]> wrote:
> but the following, in my opinion better version, is not supported:
>
> 2)      {{ foo="hello world" }}  or  {{ bar=77 }}
>

This is a deliberate design decision; the Django template system is
meant to implement only the level of logic needed for presentation
and, as such, does not have a way to set variables directly through a
template construct (other than the 'with' tag, which simply aliases a
variable to a shorter name within its scope).


-- 
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."

--~--~---------~--~----~------------~-------~--~----~
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