Added a missing module to import statement

This commit is contained in:
Ioan Vancea 2016-07-28 16:34:48 +02:00
parent 80b9453bdd
commit 55f9af72e3

View file

@ -60,7 +60,7 @@ At any time during a request, we can register a function to be called at the
end of the request. For example you can remember the current language of the
user in a cookie in the before-request function::
from flask import request
from flask import request, after_this_request
@app.before_request
def detect_user_language():