Here is the code (question to follow):

{% block sidebar %}
<dl>
        <dt><a href="/group/" title="{{ division }} - Group">Group</a></dt>
        <dd><a href="mission/" title="{{ division }} - Mission">Mission</a></
dd>
        <dd><a href="{{division.slug}}/values/" title="{{ division }} -
Values">Values</a></dd>
</dl>
{% endblock %}

I am confused with this because,

1) First href renders as http://localhost:8000/group/
2) Second href renders as http://localhost:8000/current-slug/mission/
3) Finally, the third href renders as 
http://localhost:8000/current-slug/current-slut/values/

Is there any reason why #2 and #3 render this way. I guess the fact
that if I don't put a leading slash infront of href #2 is causing some
confusion and why #3 renders the page slug 2 times. If I were to put
{{ division.slug }} just above this in a <span> or something, it just
displays the slug once. Also, there is no loops in this so that
confuses me.

Any suggestions?

T
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to