Method Flowchart for Generic Editing Views

234 views
Skip to first unread message

Greg Schmit

unread,
Jan 10, 2017, 2:43:01 PM1/10/17
to Django users
In the documentation, I notice that for the base views and the generic display views, there exists a descriptive "method flowchart" that I can use to figure out which method I need to use to perform a task. However, for the generic editing views this seems to be missing. I end up looking through the source to find clues (which can be daunting considering how many other objects the display view inherits from). I just had to do this because I tried to overload save() in a view that inherited from the generic UpdateView and it didn't do anything. I ended up overloading form_valid() to do what I needed to do.

Is there a place where I can see the method flowchart for the generic editing views? As an aside: can users like me suggest changes to the docs? Should I open a ticket if I have a suggested change to the docs?

Melvyn Sopacua

unread,
Jan 10, 2017, 2:57:08 PM1/10/17
to django...@googlegroups.com

On Monday 09 January 2017 19:39:49 Greg Schmit wrote:

> In the documentation, I notice that for the base views and the generic

> display views, there exists a descriptive "method flowchart" that I

> can use to figure out which method I need to use to perform a task.

> However, for the generic editing views this seems to be missing.

 

...

 

> Is there a place where I can see the method flowchart for the generic

> editing views?

 

I believe you missed the link in the documentation:

https://ccbv.co.uk/

 

It's probably more than one can do in the documentation.

 

--

Melvyn Sopacua

Reply all
Reply to author
Forward
0 new messages