[Django] #24917: Extending contrib.admindocs functionality

15 views
Skip to first unread message

Django

unread,
Jun 4, 2015, 6:03:04 AM6/4/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+-----------------------
Reporter: zanderle | Owner: nobody
Type: New feature | Status: new
Component: contrib.admindocs | Version: master
Severity: Normal | Keywords: admindocs
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------------+-----------------------
contrib.admindocs will only document template tags and functions that can
be invoked from templates. Therefore it has limited use. It would be
really useful to be able to document all of the functions.
contrib.admindocs is a neat way of creating some basic documentation
without any extra effort other than docstrings. By adding this feature,
this potential could be fulfilled.

There could also be an option to highlight only the functions that can be
invoked from templates, in order to support old functionality.

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

Django

unread,
Jun 4, 2015, 6:47:51 AM6/4/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+--------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:

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

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

* owner: nobody => zanderle
* needs_docs: => 0
* status: new => assigned
* needs_tests: => 0
* needs_better_patch: => 0


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

Django

unread,
Jun 4, 2015, 7:01:09 AM6/4/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+--------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:

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

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

Comment (by timgraham):

It would be appropriate to raise the issue on the DevelopersMailingList if
you want to revisit this design decision.

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

Django

unread,
Jun 4, 2015, 10:01:30 AM6/4/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+--------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:

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

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

Comment (by zanderle):

Replying to [comment:2 timgraham]:


> It would be appropriate to raise the issue on the DevelopersMailingList
if you want to revisit this design decision.

I just did. Let me know if there is anything else I can/should do.

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

Django

unread,
Jun 5, 2015, 5:22:00 PM6/5/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+--------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:

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

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

Comment (by mjtamlyn):

Accepting as I feel the "quick and dirty documentation tool for the whole
dev team" is a more common paradigm than the "documentation tool for
template authors only" one.

If however we do relax this, it opens up questions of what else should be
included in the constructed docs? Forms? Views? URLs? Managers? Tasks?

At this point you're closer to a customised version of Sphinx's autodoc.

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

Django

unread,
Jun 5, 2015, 5:22:51 PM6/5/15
to django-...@googlegroups.com
#24917: Extending contrib.admindocs functionality
-----------------------------------+------------------------------------

Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:
Keywords: admindocs | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:5>

Django

unread,
Jun 8, 2015, 12:52:34 PM6/8/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates

-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:6>

Django

unread,
Jul 1, 2015, 5:49:51 PM7/1/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

Comment (by zanderle):

Just created a PR https://github.com/django/django/pull/4939

--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:7>

Django

unread,
Jul 2, 2015, 3:35:30 AM7/2/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* has_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:8>

Django

unread,
Jul 6, 2015, 1:12:13 PM7/6/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:9>

Django

unread,
Jul 29, 2015, 5:07:43 AM7/29/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 1 => 0
* needs_tests: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:10>

Django

unread,
Jul 29, 2015, 5:20:00 AM7/29/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_tests: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:11>

Django

unread,
Jul 29, 2015, 2:35:25 PM7/29/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:12>

Django

unread,
Jul 30, 2015, 7:53:30 AM7/30/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:13>

Django

unread,
Jul 30, 2015, 6:29:53 PM7/30/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:14>

Django

unread,
Sep 1, 2015, 3:01:29 AM9/1/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-----------------------------------+------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master

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

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

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:15>

Django

unread,
Sep 7, 2015, 3:06:25 PM9/7/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-------------------------------------+-------------------------------------

Reporter: zanderle | Owner: zanderle
Type: New feature | Status: assigned
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution:
Keywords: admindocs | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:16>

Django

unread,
Sep 7, 2015, 3:19:36 PM9/7/15
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-------------------------------------+-------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: closed
Component: contrib.admindocs | Version: master
Severity: Normal | Resolution: fixed

Keywords: admindocs | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

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


Comment:

In [changeset:"f3dc173240d2a91c831b08dd6820e1d83322f3da" f3dc173]:
{{{
#!CommitTicketReference repository=""
revision="f3dc173240d2a91c831b08dd6820e1d83322f3da"
Fixed #24917 -- Made admindocs display model methods that take arguments.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:17>

Django

unread,
Feb 9, 2016, 9:49:47 AM2/9/16
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-------------------------------------+-------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: closed
Component: contrib.admindocs | Version: master

Severity: Normal | Resolution: fixed
Keywords: admindocs | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

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

In [changeset:"75143fa13f4f1ad2be84a103f7ce0eef9d06d3b4" 75143fa1]:
{{{
#!CommitTicketReference repository=""
revision="75143fa13f4f1ad2be84a103f7ce0eef9d06d3b4"
Fixed #26182 -- Removed an obsolete (refs #24917) paragraph in admindocs.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:18>

Django

unread,
Feb 9, 2016, 9:50:47 AM2/9/16
to django-...@googlegroups.com
#24917: Allow admindocs to show more than just methods that can be called from
templates
-------------------------------------+-------------------------------------
Reporter: zanderle | Owner: zanderle
Type: New feature | Status: closed
Component: contrib.admindocs | Version: master

Severity: Normal | Resolution: fixed
Keywords: admindocs | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

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

In [changeset:"c5d591733f017447889c6ff71909e06f51779b97" c5d59173]:
{{{
#!CommitTicketReference repository=""
revision="c5d591733f017447889c6ff71909e06f51779b97"
[1.9.x] Fixed #26182 -- Removed an obsolete (refs #24917) paragraph in
admindocs.

Backport of 75143fa13f4f1ad2be84a103f7ce0eef9d06d3b4 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24917#comment:19>

Reply all
Reply to author
Forward
0 new messages