Opened 12 years ago

Closed 12 years ago

#5198 closed (fixed)

url templatetag documentation has no example for views that take multiple arguments

Reported by: Gary Wilson Owned by: Jacob
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no


So its not clear whether template writer should separate arguments with spaces, commas, etc.

By the way, it's commas with no spaces in between. And from the docstring, is appears keyword arguments can be specified too (also not mentioned in the documentation):

{% url arg1,arg2,name1=value1 %}

Attachments (1)

url_dispatch.diff (869 bytes) - added by Simon G. <dev@…> 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:2 Changed 12 years ago by Gary Wilson

Yeah, that would have been a good place to look :) I guess we should just link to that from the url_dispatch docs.

Changed 12 years ago by Simon G. <dev@…>

Attachment: url_dispatch.diff added

comment:3 Changed 12 years ago by Simon G. <dev@…>

Has patch: set
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

How's this?

comment:4 Changed 12 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [5939]) Added links from any reference to the url template tag to the appropriate place in the template tag documentation. Fixed #5198.

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