[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Maposmatic-dev] [PATCH 1/3] Add a Thanks for donation page
From: |
David MENTRE |
Subject: |
Re: [Maposmatic-dev] [PATCH 1/3] Add a Thanks for donation page |
Date: |
Mon, 2 Apr 2012 09:11:46 +0200 |
Hello Jeroen,
2012/4/1 Jeroen van Rijn <address@hidden>:
> 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.