forked from orbit-oss/flask
Merge pull request #864 from obeattie/master
Make the decorators attribute on View a tuple by default
This commit is contained in:
commit
3fd40e83e5
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class View(object):
|
|||
#: view function is created the result is automatically decorated.
|
||||
#:
|
||||
#: .. versionadded:: 0.8
|
||||
decorators = []
|
||||
decorators = ()
|
||||
|
||||
def dispatch_request(self):
|
||||
"""Subclasses have to override this method to implement the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue