#26776 closed Cleanup/optimization (fixed)
url documentation does not mention that view argument can be a non-view object
| Reported by: | Trey Hunner | Owned by: | Andrew Nester |
|---|---|---|---|
| Component: | Documentation | Version: | 1.9 |
| Severity: | Normal | Keywords: | |
| Cc: | 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/1.9/ref/urls/#django.conf.urls.url
The documentation for url() doesn't mention that include() or a three-tuple can be provided instead of a view function for the "view" argument. This seems like an oversight. Maybe a link should be added to another section of the documentation?
Change History (4)
comment:1 by , 9 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 9 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In a12826bb: