diff options
Diffstat (limited to 'fg21sim/webui/handlers')
| -rw-r--r-- | fg21sim/webui/handlers/base.py | 6 | ||||
| -rw-r--r-- | fg21sim/webui/handlers/console.py | 2 | 
2 files changed, 6 insertions, 2 deletions
diff --git a/fg21sim/webui/handlers/base.py b/fg21sim/webui/handlers/base.py index 5a6e3a9..868ae48 100644 --- a/fg21sim/webui/handlers/base.py +++ b/fg21sim/webui/handlers/base.py @@ -2,7 +2,7 @@  # MIT license  """ -Base handler for other handlers +Base web request handler for other handlers  """ @@ -11,6 +11,10 @@ from tornado.options import options  class BaseRequestHandler(tornado.web.RequestHandler): +    """ +    Base web request handler with user authentication support. +    """ +      def get_current_user(self):          """          Override the ``get_current_user()`` method to implement user diff --git a/fg21sim/webui/handlers/console.py b/fg21sim/webui/handlers/console.py index 9f2d376..07b191c 100644 --- a/fg21sim/webui/handlers/console.py +++ b/fg21sim/webui/handlers/console.py @@ -2,7 +2,7 @@  # MIT license  """ -Handle the "console" type of messages from the client. +Handle the AJAX requests from the client to control the tasks.  """  import logging  | 
