rabin %!s(int64=7) %!d(string=hai) anos
pai
achega
6c16955195
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      web.py

+ 4 - 1
web.py

@@ -200,7 +200,10 @@ class Base(tornado.web.RequestHandler):
 class Web(object):
 	@classmethod
 	def auth(self, method):
-		tornado.web.authenticated(method)
+		return tornado.web.authenticated(method)
+
+	@classmethod
+	def setting(self, method):
 		return self.async(method)
 		
 	@staticmethod