﻿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
15715	Add a non-trivial decorator example to class-based views docs	Dan McGee	nobody	"To save someone the hassle I just had trying to go beyond the all-too-simple @login_required example. This seemed to work for me at least, so I hope it is correct:


{{{
    (r'^delete/(?P<pk>\d+)/$',
        permission_required('main.delete_todolist')(DeleteTodolist.as_view())),

}}}

Attached a very simple suggestion for the docs, feel free to redo it if it is not in the style but I tried to look at other relevant examples."	New feature	closed	Documentation	1.3	Normal	fixed			Ready for checkin	1	0	0	0	0	0
