Opened 3 years ago

Closed 3 years ago

Last modified 3 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 Changed 3 years ago by Baptiste Mispelon

Triage Stage: UnreviewedAccepted
Type: UncategorizedCleanup/optimization

comment:2 Changed 3 years ago by Jochem

Owner: changed from nobody to Jochem
Status: newassigned

comment:3 Changed 3 years ago by Jochem

Keywords: nlsprint14 added

comment:4 Changed 3 years ago by Erik Romijn

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

Looks good to me :)

comment:5 Changed 3 years ago by Baptiste Mispelon

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 Changed 3 years ago by Baptiste Mispelon <bmispelon@…>

Resolution: fixed
Status: assignedclosed

In 271929dd9d3aa5184cbb13d79b3651ac32e640ea:

Fixed #22092 -- Documented ResolverMatch.view_name

comment:7 Changed 3 years ago by Baptiste Mispelon <bmispelon@…>

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