Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16280 closed Cleanup/optimization (fixed)

documentation for reverse() should include positional/keyword conflict

Reported by: bhayes@… Owned by: paulcwatts
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Ticket #12946 was resolved in [12652] by documenting the behavior of {% url %} tags containing both positional and keyword arguments, and calling out in the documentation that this is not allowed.

It would be nice if this same note were added to the documentation of reverse() in https://docs.djangoproject.com/en/dev/topics/http/urls/#reverse as well.

Attachments (1)

16280.diff (617 bytes ) - added by paulcwatts 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Aymeric Augustin, 13 years ago

Triage Stage: UnreviewedAccepted

comment:2 by paulcwatts, 13 years ago

Owner: changed from nobody to paulcwatts

by paulcwatts, 13 years ago

Attachment: 16280.diff added

comment:3 by paulcwatts, 13 years ago

Has patch: set

comment:4 by Adam Nelson, 13 years ago

Triage Stage: AcceptedReady for checkin

Looks good.

comment:5 by Alex Gaynor, 13 years ago

Resolution: fixed
Status: newclosed

In [16780]:

Fixed #16280. Document that both args and kwargs cannot be passed to reverse at the same time.

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