Hello Jeroen,

2012/4/1 Jeroen van Rijn <jvr...@gmail.com>:
> https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns
>
> That name parameter in the url dispatcher is used for reverse lookups so
> that you can use that name specified there in templates.
>
> e.g. <li {% block menu-donate %}{% endblock %}><a href="{% url donate %}">{%
> trans "Donate" %}</a></li>
>
> Therefore I think you did fix the bug, because the donate-thanks entry in
> the url dispatcher clobbered the 'donate' reverse lookup with the
> donate-thanks view, overwriting the donate view's link to that name as
> defined in the line before it.

Thank you Jeroen for the explanation and the link. It is much clearer now.

Best regards,
d.

Reply via email to