blob: 94907958df824e527bd07f34c086dee4895f9345 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
.. _flash_module:
:mod:`pyramid.flash`
--------------------
Flash Category Constants
~~~~~~~~~~~~~~~~~~~~~~~~
The following attributes represent constants for use as flash messaging
category values (see :ref:`flash_chapter`).
.. attribute:: DEBUG
An alternate spelling for the string ``debug``. Represents development
debug messages.
.. attribute:: INFO
An alternate spelling for the string ``info``. Represents messages that
are informational for user consumption.
.. attribute:: SUCCESS
An alternate spelling for the string ``success``. Represents messages that
tell the user about a successful action.
.. attribute:: WARNING
An alternate spelling for the string ``warning``. Represents messages
that tell the user about a condition that is not a success, but is neither
an error.
.. attribute:: ERROR
An alternate spelling for the string ``success``. Represents messages
that tell the user about an unsuccessful action.
|