Browse Source

Merge pull request #1965 from vioan/master

Added a missing module to import statement
pull/2279/head
David Lord 8 years ago committed by GitHub
parent
commit
0420cb21db
  1. 2
      docs/patterns/deferredcallbacks.rst

2
docs/patterns/deferredcallbacks.rst

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

Loading…
Cancel
Save