Merge pull request #864 from obeattie/master

Make the decorators attribute on View a tuple by default
This commit is contained in:
Kenneth Reitz 2014-03-21 17:05:24 -04:00
commit 3fd40e83e5

View file

@ -60,7 +60,7 @@ class View(object):
#: view function is created the result is automatically decorated. #: view function is created the result is automatically decorated.
#: #:
#: .. versionadded:: 0.8 #: .. versionadded:: 0.8
decorators = [] decorators = ()
def dispatch_request(self): def dispatch_request(self):
"""Subclasses have to override this method to implement the """Subclasses have to override this method to implement the