#12946 closed (fixed)
{% url %} tag docs show an invalid example mixing args and kwargs, which reverse() doesn't allow
Reported by: | coleifer | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
This is the example:
{% url path.to.some_view arg1,arg2,name1=value1 %}
if you check out reverse() bits it'll throw a ValueError in this case
http://code.djangoproject.com/browser/django/trunk/django/core/urlresolvers.py#L271
Change History (7)
comment:1 by , 15 years ago
Component: | Uncategorized → Documentation |
---|---|
Needs documentation: | set |
comment:2 by , 15 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 15 years ago
milestone: | → 1.2 |
---|
comment:4 by , 15 years ago
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 by , 15 years ago
Note:
See TracTickets
for help on using tickets.
refers to /ref/templates/builtins/