Merge branch 'master' of github.com:mitsuhiko/flask
This commit is contained in:
commit
51d7c8de7d
6 changed files with 26 additions and 4 deletions
|
|
@ -350,7 +350,7 @@ JSON Support
|
|||
Flask uses ``simplejson`` for the JSON implementation. Since simplejson
|
||||
is provided both by the standard library as well as extension Flask will
|
||||
try simplejson first and then fall back to the stdlib json module. On top
|
||||
of that it will delegate access to the current application's JSOn encoders
|
||||
of that it will delegate access to the current application's JSON encoders
|
||||
and decoders for easier customization.
|
||||
|
||||
So for starters instead of doing::
|
||||
|
|
|
|||
|
|
@ -149,6 +149,7 @@ A basic FastCGI configuration for lighttpd looks like that::
|
|||
url.rewrite-once = (
|
||||
"^(/static($|/.*))$" => "$1",
|
||||
"^(/.*)$" => "/yourapplication.fcgi$1"
|
||||
)
|
||||
|
||||
Remember to enable the FastCGI, alias and rewrite modules. This configuration
|
||||
binds the application to `/yourapplication`. If you want the application to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue