Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#22092 closed Cleanup/optimization (fixed)

Docs don't mention ResolverMatch.view_name

Reported by: Daniele Procida Owned by: Jochem
Component: Documentation Version: 1.6
Severity: Normal Keywords: afraid-to-commit nlsprint14
Cc: eromijn@… Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

​https://docs.djangoproject.com/en/dev/ref/urlresolvers/#django.core.urlresolvers.ResolverMatch

view_name is another property available resolve('/some/url/path') when it successfully returns a ResolverMatch.

It should be listed here.

Change History (7)

comment:1 by Baptiste Mispelon, 13 years ago

Triage Stage: Unreviewed → Accepted
Type: Uncategorized → Cleanup/optimization

comment:2 by Jochem, 13 years ago

Owner: changed from nobody to Jochem
Status: new → assigned

comment:3 by Jochem, 13 years ago

Keywords: nlsprint14 added

comment:4 by Sasha Romijn, 13 years ago

Cc: eromijn@… added
Triage Stage: Accepted → Ready for checkin

Looks good to me :)

comment:5 by Baptiste Mispelon, 13 years ago

Triage Stage: Ready for checkin → Accepted

As noted on the PR, I think it should be mentionned that the view_name includes the namespace if there is one.

comment:6 by Baptiste Mispelon <bmispelon@…>, 13 years ago

Resolution: → fixed
Status: assigned → closed

In 271929dd9d3aa5184cbb13d79b3651ac32e640ea:

Fixed #22092 -- Documented ResolverMatch.view_name

comment:7 by Baptiste Mispelon <bmispelon@…>, 13 years ago

In 882f2a5b811ad6b528556bef0e31a37710baff94:

[1.6.x] Fixed #22092 -- Documented ResolverMatch.view_name

Backport of 271929dd9d3aa5184cbb13d79b3651ac32e640ea from master.

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