On 8/3/06, skullvulture <[EMAIL PROTECTED]> wrote:
> Is there anyway to declare variables within a template?  I'm coming
> from a Zope background where with dtml you have the dtml-let tag and
> with ZPT you have tal:define.  Django's templating seems so much cooler
> than Zope's, but I'm missing a declare or define tag.

There is no way to declare a new variable using only the template
language's constructs, and I'd say that's pretty much a deliberate
choice; the template system isn't meant to be a programming language,
and the place to set variables is in the view.

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to