Improve environment doc

This commit is contained in:
Soam Vasani
2017-01-18 16:59:39 -08:00
parent 4f9b36b042
commit e0c7682996
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -24,6 +24,8 @@ def f():
print("Generic container: no requests supported")
abort(500)
#
# Customizing the request context
#
# If you want to pass something to the function, you can add it to 'g':
# g.myKey = myValue
# And the user func can then access that (after doing a "from flask import g").