﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32271	Documentation consistency between display views and edit views	Carles Pina Estany	Mariusz Felisiak <felisiak.mariusz@…>	"In the ""generic display views"" (https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-display/#django.views.generic.detail.DetailView) the example is:

{{{
class ArticleDetailView(DetailView):
}}}

In the ""Generic editing views"" (https://docs.djangoproject.com/en/3.1/ref/class-based-views/generic-editing/#django.views.generic.edit.CreateView.template_name_suffix) the example is:

{{{
class AuthorCreate(CreateView):
}}}

(note that there is no `View` after `AuthorCreate`, like it was in the `ArticleDetailView` example)

I was expecting it to be either:


{{{
class ArticleDetailView(DetailView)

class AuthorCreateView(CreateView)
}}}

or:
{{{
class ArticleDetail(DetailView)

class AuthorCreate(CreateView)
}}}

I'm happy to do a PR of any of the options. I'm slightly inclined for the second one to keep it short and because usually these classes are in `views.py`."	Cleanup/optimization	closed	Documentation	3.1	Normal	fixed			Ready for checkin	1	0	0	0	1	0
