Opened 11 years ago

Closed 11 years ago

Last modified 11 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, 11 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:2 by Jochem, 11 years ago

Owner: changed from nobody to Jochem
Status: newassigned

comment:3 by Jochem, 11 years ago

Keywords: nlsprint14 added

comment:4 by Sasha Romijn, 11 years ago

Cc: eromijn@… added
Triage Stage: AcceptedReady for checkin

Looks good to me :)

comment:5 by Baptiste Mispelon, 11 years ago

Triage Stage: Ready for checkinAccepted

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@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 271929dd9d3aa5184cbb13d79b3651ac32e640ea:

Fixed #22092 -- Documented ResolverMatch.view_name

comment:7 by Baptiste Mispelon <bmispelon@…>, 11 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