#20110: Unnecessary single quotes in examples
--------------------------------+--------------------
Reporter: artem.skvira@… | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.4
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+--------------------
It looks like documentation for "url" template tag in here
https://docs.djangoproject.com/en/dev/topics/http/urls/#reverse-
resolution-of-urls specifies that one should use single quotes around
first argument, for example
{% url 'view.name' %}
Although when you do this, NoReverseMatch exception is thrown when parsing
those URL tags. Removing the quotes seem to fix the problem.
--
Ticket URL: <https://code.djangoproject.com/ticket/20110>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.