Browse Source

Merge branch 'master' of github.com:mitsuhiko/flask

pull/112/head
Armin Ronacher 15 years ago
parent
commit
a532568680
  1. 1
      AUTHORS
  2. 5
      flask/helpers.py

1
AUTHORS

@ -24,4 +24,5 @@ Patches and Suggestions
- Sebastien Estienne - Sebastien Estienne
- Simon Sapin - Simon Sapin
- Stephane Wirtel - Stephane Wirtel
- Thomas Schranz
- Zhao Xiaohong - Zhao Xiaohong

5
flask/helpers.py

@ -25,9 +25,14 @@ try:
except ImportError: except ImportError:
try: try:
import json import json
except ImportError:
try:
# Google Appengine offers simplejson via django
from django.utils import simplejson as json
except ImportError: except ImportError:
json_available = False json_available = False
from werkzeug import Headers, wrap_file, is_resource_modified, cached_property from werkzeug import Headers, wrap_file, is_resource_modified, cached_property
from werkzeug.exceptions import NotFound from werkzeug.exceptions import NotFound

Loading…
Cancel
Save