﻿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
30161	View decorators docs should mention how to decorate class based views	Jaap Roes	Alexandru Balan	"Currently the docs on ""[https://docs.djangoproject.com/en/2.1/topics/http/decorators/ View decorators]"" don't mention how to apply a decorator to a class based view.

There are instructions on how to do this in the ""[https://docs.djangoproject.com/en/2.1/topics/class-based-views/intro/#decorating-class-based-views Decorating class-based views]"" section of the ""Introduction to class-based views"" part of the docs.

To me it seems reasonable to link to that section, or even include (part) of it in the ""View decorators"" part of the docs.

Another minor note, the ""Decorating class-based views"" section has instructions on how to apply the `login_required` decorator, but doesn't mention the alternative `LoginRequiredMixin` which is only mentioned in the ""[https://docs.djangoproject.com/en/2.1/topics/auth/default/#the-loginrequired-mixin Using the Django authentication system]"" part of the docs."	Cleanup/optimization	closed	Documentation	dev	Normal	fixed			Accepted	1	0	0	0	0	0
