Skip to content

Commit 3fd40e8

Browse files
committed
Merge pull request pallets#864 from obeattie/master
Make the decorators attribute on View a tuple by default
2 parents 9427e16 + 2a512ab commit 3fd40e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flask/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def dispatch_request(self):
6060
#: view function is created the result is automatically decorated.
6161
#:
6262
#: .. versionadded:: 0.8
63-
decorators = []
63+
decorators = ()
6464

6565
def dispatch_request(self):
6666
"""Subclasses have to override this method to implement the

0 commit comments

Comments
 (0)