Code

Opened 5 years ago

Closed 5 years ago

#9984 closed (duplicate)

Documentation needed for reverse() and url tag limitations regarding mixed args and kwargs

Reported by: Killarny Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

As discussed on the django-developers list in this thread, reverse() and {% url %} do not support matching views which have both required arguments and keyword arguments. However, the documentation is unclear about this, and should be updated a bit to mention these limitations in some fashion.

The documentation pages in question are:

http://docs.djangoproject.com/en/dev/topics/http/urls/#reverse

http://docs.djangoproject.com/en/dev/ref/templates/builtins/#url

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by jacob

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to duplicate
  • Status changed from new to closed

Dup of #8764.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.