I am working on an Erlang implementation of the Django template language, see
http://code.google.com/p/erlydtl/ we want keep things as close as possible to original django templates, but one thing I would like to add which seems to be only limited possible with django, variables presetting in templates: AFAIK, this is allowed: 1) {{ "hello world" }} or {{ 77 }} but the following, in my opinion better version, is not supported: 2) {{ foo="hello world" }} or {{ bar=77 }} I think 2) is a good way for HTML savy web designer, to prototype templates without having to deal with the controller parts, because those variables don't need to be set in the controllers to get rendered. On the other hand, the variables they are already or still there, which is not the case with 1). So what do you guys think ? Does this make sense and you are going to add this as well ? Or have I missed something ? Or any particular reason you don't have or will not implement this ? regards Roberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
