diff --git a/README.rst b/README.rst index 33698f1..df15cfe 100644 --- a/README.rst +++ b/README.rst @@ -66,7 +66,7 @@ asynchronous Tornado ``RequestHandler`` for a database named ``foo``: os.environ['FOO_DBNAME'] = 'foo' os.environ['FOO_PASSWORD'] = 'bar' - class FooRequestHandler(postgresql.HandlerMixin, + class FooRequestHandler(postgresql.AsyncHandlerMixin, web.RequestHandler): DBNAME = 'foo' @@ -94,4 +94,4 @@ Available at https://sprocketsmixinspostgresql.readthedocs.org/en/latest/history :target: https://pypi.python.org/pypi/sprockets.mixins.postgresql .. |License| image:: https://pypip.in/license/sprockets.mixins.postgresql/badge.svg? - :target: https://sprocketsmixinspostgresql.readthedocs.org \ No newline at end of file + :target: https://sprocketsmixinspostgresql.readthedocs.org