-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
It would be better to implement method-specific decorators to give more flexibility of use as appropriate by transforming this definition:
class PersonList (ResourceDetail):
decorators = (cached, login_required)
in the following and more customizable definition:
class PersonList (ResourceDetail):
decorators = {
'get': (cached,),
'post': (login_required,),
}
sholsapp, nelsonlove and Zenor27
Metadata
Metadata
Assignees
Labels
No labels