hi,
i give to my template a variable like this
messages = ({ 'forum': forum, 'url': request.get_full_path() })
debug_msg = {'view': 'topic', 'messages': messages }
then i try to output this via
{% for key, value in debug.debug_msg %}
{{ key }}: {{ value }}<br />
{% endfor %}
looks like that
u: r
f: o
but should be
url: /forum/public/
forum: public
i don`t understand why i only get the first char and not the wohl
string.
i use python 2.5.1 and 0.97_pre of django.
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---