[Django] #26776: url documentation does not mention that view argument can be a non-view object

4 views
Skip to first unread message

Django

unread,
Jun 17, 2016, 8:35:26 PM6/17/16
to django-...@googlegroups.com
#26776: url documentation does not mention that view argument can be a non-view
object
-------------------------------+--------------------
Reporter: treyhunner | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
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?

--
Ticket URL: <https://code.djangoproject.com/ticket/26776>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 17, 2016, 9:12:16 PM6/17/16
to django-...@googlegroups.com
#26776: url documentation does not mention that view argument can be a non-view
object
--------------------------------------+------------------------------------
Reporter: treyhunner | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 1.9
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by timgraham):

* needs_better_patch: => 0
* needs_docs: => 0
* type: Uncategorized => Cleanup/optimization
* needs_tests: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/26776#comment:1>

Django

unread,
Jun 20, 2016, 4:48:53 AM6/20/16
to django-...@googlegroups.com
#26776: url documentation does not mention that view argument can be a non-view
object
-------------------------------------+-------------------------------------
Reporter: treyhunner | Owner:
Type: | andrewnester
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.9

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by andrewnester):

* status: new => assigned
* owner: nobody => andrewnester


--
Ticket URL: <https://code.djangoproject.com/ticket/26776#comment:2>

Django

unread,
Jun 20, 2016, 11:57:50 AM6/20/16
to django-...@googlegroups.com
#26776: url documentation does not mention that view argument can be a non-view
object
-------------------------------------+-------------------------------------
Reporter: treyhunner | Owner:
Type: | andrewnester
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.9
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"a12826bba7a6d75862f99ae5cd48c4c1854208b8" a12826bb]:
{{{
#!CommitTicketReference repository=""
revision="a12826bba7a6d75862f99ae5cd48c4c1854208b8"
Fixed #26776 -- Documented url()'s view argument.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26776#comment:3>

Django

unread,
Jun 20, 2016, 11:58:27 AM6/20/16
to django-...@googlegroups.com
#26776: url documentation does not mention that view argument can be a non-view
object
-------------------------------------+-------------------------------------
Reporter: treyhunner | Owner:
Type: | andrewnester
Cleanup/optimization | Status: closed
Component: Documentation | Version: 1.9

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"7a3cc2957f0220dc75cc5790ac72e884b682cc65" 7a3cc295]:
{{{
#!CommitTicketReference repository=""
revision="7a3cc2957f0220dc75cc5790ac72e884b682cc65"
[1.10.x] Fixed #26776 -- Documented url()'s view argument.

Backport of a12826bba7a6d75862f99ae5cd48c4c1854208b8 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/26776#comment:4>

Reply all
Reply to author
Forward
0 new messages