Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#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: UI/UX:

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 Changed 7 years ago by coleifer

Component: UncategorizedDocumentation
Needs documentation: set

comment:2 Changed 7 years ago by Russell Keith-Magee

Triage Stage: UnreviewedAccepted

comment:3 Changed 7 years ago by Russell Keith-Magee

milestone: 1.2

comment:4 Changed 7 years ago by Tim Graham

refers to /ref/templates/builtins/

comment:5 Changed 7 years ago by Karen Tracey

Resolution: fixed
Status: newclosed

(In [12652]) Fixed #12946: Removed an invalid example of url tag usage from the docs.

comment:6 Changed 7 years ago by Karen Tracey

(In [12653]) [1.1.X] Fixed #12946: Removed an invalid example of url tag usage from the docs.

r12652 from trunk.

comment:7 Changed 5 years ago by Jacob

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top