forked from orbit-oss/flask
Fixed a doc bug and added distribtue docs.
This commit is contained in:
parent
35ed617fe4
commit
931dcc4c80
5 changed files with 202 additions and 1 deletions
2
flask.py
2
flask.py
|
|
@ -230,7 +230,7 @@ def flash(message, category='message'):
|
|||
are recommended: ``'message'`` for any kind of message,
|
||||
``'error'`` for errors, ``'info'`` for information
|
||||
messages and ``'warning'`` for warnings. However any
|
||||
kind of string and be used as category.
|
||||
kind of string can be used as category.
|
||||
"""
|
||||
session.setdefault('_flashes', []).append((category, message))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue