[Django] #24162: "Method Flowchart" for all CB(G)V documentation pages

30 views
Skip to first unread message

Django

unread,
Jan 16, 2015, 4:16:59 PM1/16/15
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------+---------------------------------------
Reporter: ivanvenosdel | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords: CBV CBGV method flowchart
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+---------------------------------------
First off, to whoever had the idea and put in the effort to add the
"Method Flowchart" to the CBV and CBGV doc pages, thank you, thank you,
thank you. So helpful.

So naturally I would love to see the feature on all of the CB(G)V pages,
particularly those with a form as they are more complicated.

Why is this necessary?

1. To make the multiple branches of form view logic more explicit. What
methods get called when there is a GET? What about a POST?

2. To gain all the advantages that the "Method Flow" chart has provided to
the other views. For me it has been primarily helpful for understanding
and figuring out how to avoid duplicate queries.

Moved from comment on: ticket:20608

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

Django

unread,
Jan 26, 2015, 2:38:19 PM1/26/15
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------

Reporter: ivanvenosdel | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage:
flowchart | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0


Comment:

I'm a bit confused by your description (I've never heard of "Method
flowchart"), but if you want to see whole ancestors tree with all methods
(and code snippets!), have a look at http://ccbv.co.uk

The question whether this should be included in docs remains. Personally I
use http://ccbv.co.uk a lot. Without this site the CBV would be very hard
to customize (yes, I still can browse the source code, but it isn't
definitely as convenient as http://ccbv.co.uk)

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

Django

unread,
Jan 26, 2015, 9:41:16 PM1/26/15
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------

Reporter: ivanvenosdel | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage:
flowchart | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* cc: tomas.ehrlich@… (added)


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

Django

unread,
Mar 2, 2015, 6:40:55 PM3/2/15
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------

Reporter: ivanvenosdel | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage: Accepted
flowchart |

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

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

* stage: Unreviewed => Accepted


Comment:

An example "Method Flowchart" is here:
https://docs.djangoproject.com/en/dev/ref/class-based-views/generic-
display/#listview.

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

Django

unread,
Dec 8, 2015, 2:13:49 PM12/8/15
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------

Reporter: ivanvenosdel | Owner: nobody
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage: Accepted
flowchart |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by ivanvenosdel:

Old description:

> First off, to whoever had the idea and put in the effort to add the
> "Method Flowchart" to the CBV and CBGV doc pages, thank you, thank you,
> thank you. So helpful.
>
> So naturally I would love to see the feature on all of the CB(G)V pages,
> particularly those with a form as they are more complicated.
>
> Why is this necessary?
>
> 1. To make the multiple branches of form view logic more explicit. What
> methods get called when there is a GET? What about a POST?
>
> 2. To gain all the advantages that the "Method Flow" chart has provided
> to the other views. For me it has been primarily helpful for
> understanding and figuring out how to avoid duplicate queries.
>
> Moved from comment on: ticket:20608

New description:

First off, to whoever had the idea and put in the effort to add the

"Method Flowchart" to some of the CBV and CBGV doc pages, thank you, thank


you, thank you. So helpful.

Example "Method Flowchart": ​https://docs.djangoproject.com/en/dev/ref
/class-based-views/generic-display/#listview

So naturally I would love to see the feature on all of the CB(G)V pages,
particularly those with a form as they are more complicated.

Why is this necessary?

1. To make the multiple branches of form view logic more explicit. What
methods get called when there is a GET? What about a POST?

2. To gain all the advantages that the "Method Flow" chart has provided to
the other views. For me it has been primarily helpful for understanding
and figuring out how to avoid duplicate queries.

Moved from comment on: ticket:20608

--

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

Django

unread,
Oct 18, 2024, 6:18:17 AM10/18/24
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------
Reporter: Ivan Ven Osdel | Owner: Clifford
| Gama
Type: New feature | Status: assigned
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage: Accepted
flowchart |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* cc: Clifford Gama (added)
* owner: nobody => Clifford Gama
* status: new => assigned

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

Django

unread,
Jan 16, 2025, 4:44:56 AM1/16/25
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------
Reporter: Ivan Ven Osdel | Owner: Clifford
| Gama
Type: New feature | Status: assigned
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage: Accepted
flowchart |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Clifford Gama):

I think this ticket may have to be addressed along with #19227 (Reorganize
method flowchart for class based generic views to tree), as the method
flowcharts would be more accurate and helpful in tree form as opposed to
current lists.
--
Ticket URL: <https://code.djangoproject.com/ticket/24162#comment:6>

Django

unread,
Jul 6, 2025, 5:21:21 AM7/6/25
to django-...@googlegroups.com
#24162: "Method Flowchart" for all CB(G)V documentation pages
-------------------------------------+-------------------------------------
Reporter: Ivan Ven Osdel | Owner: (none)
Type: New feature | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: CBV CBGV method | Triage Stage: Accepted
flowchart |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Clifford Gama):

* cc: Clifford Gama (removed)
* owner: Clifford Gama => (none)
* status: assigned => new

--
Ticket URL: <https://code.djangoproject.com/ticket/24162#comment:7>
Reply all
Reply to author
Forward
0 new messages