#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 , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 11 years ago
Keywords: | nlsprint14 added |
---|
comment:4 by , 11 years ago
Cc: | added |
---|---|
Triage Stage: | Accepted → Ready for checkin |
Looks good to me :)
comment:5 by , 11 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 , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Here's a pull request: https://github.com/django/django/pull/2349