Hi all --
I've got the following code in a template:
{% for entry in my_entries %}
(url) MY_NAME,SVN_DIR: {% url mielot.views.list my_name,my_dir %}<br>
(url) MY_NAME,ENTRY.PATH: {% url myapp.views.list my_name,entry.path
%}<br>
MY_NAME: {{ my_name }}<br>
MY_DIR: {{ my_dir }}<br>
ENTRY_PATH: {{ entry.path }}<br><br>
{% endfor %}
And I get the following output:
(url) MY_NAME,MY_DIR: /myapp/test/list/
(url) MY_NAME,ENTRY.PATH:
MY_NAME: test
MY_DIR: /
ENTRY_PATH: text
Why doesn't the second url template tag work? How do I fix it?
-- Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---