Fixed a doc bug and added distribtue docs.

This commit is contained in:
Armin Ronacher 2010-05-17 01:41:57 +02:00
parent 35ed617fe4
commit 931dcc4c80
5 changed files with 202 additions and 1 deletions

View file

@ -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))