Opened 13 years ago
Closed 13 years ago
#18708 closed Bug (invalid)
Typo in Naming URL Patterns
Description ¶
In https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns
There is a typo in the example of using the named urls.
It is written:
{% url 'arch-summary' 1945 %} {% url 'full-archive' 2007 %}
And should be:
{% url arch-summary 1945 %} {% url full-archive 2007 %}
Without the single quotes.
Note:
See TracTickets
for help on using tickets.
You refer to the development version of the documentation, but you file a bug against version 1.4. This was actually updated to the present notation (with single quotes) recently in #18625.