This add a decorators attribute to FlaskView, letting user specify a list of decorators to be applied on all views.
This is similar to the decorators attribute on Flask's View and MethodView.
Add a decorators attribute to FlaskView that let user specify a list …
…of decorators to be applied on member views
This is a fantastic idea - just have to decide if I like the attribute to be just "decorators" or if something more explicit is in order.
decorators seems like the best option to keep it consistent with Flask.
Thanks @julienr I'm going to play with this a bit more but it'll be in the next version! Awesome idea.
Great, thanks !