diff --git a/docs/chapter-06.rst b/docs/chapter-06.rst index d77b9e40..718cd231 100644 --- a/docs/chapter-06.rst +++ b/docs/chapter-06.rst @@ -363,7 +363,7 @@ The client can also set/add flash messages by calling: :: - utils.flash({'message': 'hello world', 'class': 'info'}); + Q.flash({'message': 'hello world', 'class': 'info'}); py4web defaults to an alert class called ``info`` and most CSS frameworks define classes for alerts called ``success``, ``error``,