It would be better to implement **method-specific decorators** to give more flexibility of use as appropriate by transforming this definition: ```python3 class PersonList (ResourceDetail): decorators = (cached, login_required) ``` in the following and more customizable definition: ```python3 class PersonList (ResourceDetail): decorators = { 'get': (cached,), 'post': (login_required,), } ```
It would be better to implement method-specific decorators to give more flexibility of use as appropriate by transforming this definition:
in the following and more customizable definition: