forked from orbit-oss/flask
0.5 is 0.3 now, why skip numbers?
This commit is contained in:
parent
dfecc86dd3
commit
ce6e4cbd73
9 changed files with 17 additions and 17 deletions
|
|
@ -3,7 +3,7 @@
|
|||
Configuration Handling
|
||||
======================
|
||||
|
||||
.. versionadded:: 0.5
|
||||
.. versionadded:: 0.3
|
||||
|
||||
Applications need some kind of configuration. There are different things
|
||||
you might want to change. Like toggling debug mode, the secret key and a
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
Handling Application Errors
|
||||
===========================
|
||||
|
||||
.. versionadded:: 0.5
|
||||
.. versionadded:: 0.3
|
||||
|
||||
Applications fail, server fail. Sooner or later you will see an exception
|
||||
in production. Even if your code is 100% correct, you will still see
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ And of course the login template:
|
|||
Flashing With Categories
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 0.5
|
||||
.. versionadded:: 0.3
|
||||
|
||||
It is also possible to provide categories when flashing a message. The
|
||||
default category if nothing is provided is ``'message'``. Alternative
|
||||
|
|
|
|||
|
|
@ -691,7 +691,7 @@ for a full example.
|
|||
Logging
|
||||
-------
|
||||
|
||||
.. versionadded:: 0.5
|
||||
.. versionadded:: 0.3
|
||||
|
||||
Sometimes you might be in the situation where you deal with data that
|
||||
should be correct, but actually is not. For example you have some client
|
||||
|
|
@ -702,7 +702,7 @@ Request`` in that situation, but other times it is not and the code has to
|
|||
continue working.
|
||||
|
||||
Yet you want to log that something fishy happened. This is where loggers
|
||||
come in handy. As of Flask 0.5 a logger is preconfigured for you to use.
|
||||
come in handy. As of Flask 0.3 a logger is preconfigured for you to use.
|
||||
|
||||
Here are some example log calls::
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Working with the Shell
|
||||
======================
|
||||
|
||||
.. versionadded:: 0.5
|
||||
.. versionadded:: 0.3
|
||||
|
||||
One of the reasons everybody loves Python is the interactive shell. It
|
||||
basically allows you to execute Python commands in real time and
|
||||
|
|
|
|||
|
|
@ -14,10 +14,10 @@ This section of the documentation enumerates all the changes in Flask from
|
|||
release to release and how you can change your code to have a painless
|
||||
updating experience.
|
||||
|
||||
Version 0.5
|
||||
Version 0.3
|
||||
-----------
|
||||
|
||||
Flask 0.5 introduces configuration support and logging as well as
|
||||
Flask 0.3 introduces configuration support and logging as well as
|
||||
categories for flashing messages. All these are features that are 100%
|
||||
backwards compatible but you might want to take advantage of them.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue