Opened 19 months ago

Closed 19 months ago

Last modified 19 months ago

#22092 closed Cleanup/optimization (fixed)

Docs don't mention ResolverMatch.view_name

Reported by: EvilDMP Owned by: jocmeh
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 19 months ago by bmispelon

  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

comment:2 Changed 19 months ago by jocmeh

  • Owner changed from nobody to jocmeh
  • Status changed from new to assigned

comment:3 Changed 19 months ago by jocmeh

  • Keywords nlsprint14 added

comment:4 Changed 19 months ago by erikr

  • Cc eromijn@… added
  • Triage Stage changed from Accepted to Ready for checkin

Looks good to me :)

comment:5 Changed 19 months ago by bmispelon

  • Triage Stage changed from Ready for checkin to 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 Changed 19 months ago by Baptiste Mispelon <bmispelon@…>

  • Resolution set to fixed
  • Status changed from assigned to closed

In 271929dd9d3aa5184cbb13d79b3651ac32e640ea:

Fixed #22092 -- Documented ResolverMatch.view_name

comment:7 Changed 19 months 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