Here are some things you can do: 1. Django templates can tell you the value of the current counter/ index in the 'for' loop. Maybe you can use that somehow. 2. If you really want to assign a variable, then use a javascript tag: <script type="text/javascript"> var x = {{greeting.content}}; </script>
-Mahmoud On Nov 11, 7:59 am, Blessed Geek <[EMAIL PROTECTED]> wrote: > > ...but it does not mean it's "lousy". Could you elaborate what you are > > trying to do? There's a good chance there's an alternative solution. > > "Please tell us what you want to do and may be there's a better > solution" is a familiar answer we give to newbies in java. > > Please accept my apologies for being short in politeness and words. > > I know what I want to do. Without going into details just tell me: > How can I perform variable assignment in django template? > > If django is incapable, recommend me an alternate python template > (which works with google apps) that would allow me to do so. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---