﻿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
23287	Change exception message for django.utils.decorators.classonlymethod	Peter Zsoldos	Tim Graham	"The exception message when invoking it on an instance is (at the time of opening) is ""This method is available only on the view class.""

However, there isn't anything about this decorator that is CBV specific, and it is located in the generic django.utils module.

I propose to change the exception message to some variant of ""This method is available only on the class, not on instances.""


(It came up in a pull request discussion with @timgraham - https://github.com/django/django/pull/2674#discussion_r15948247)"	Cleanup/optimization	closed	Utilities		Normal	fixed			Accepted	0	0	0	0	0	0
