From 2009eff06e4b5db0187ea70e7bcd76796d728fc4 Mon Sep 17 00:00:00 2001 From: Massimiliano Date: Sun, 25 Aug 2024 15:17:53 +0200 Subject: [PATCH] Flash fixtures docs Working example from python and js --- docs/chapter-06.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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``,