Added support for conditional responses to send_file

This commit is contained in:
Armin Ronacher 2010-07-04 11:56:08 +02:00
parent 88d9315d19
commit d0c6ad7d28
3 changed files with 36 additions and 5 deletions

View file

@ -328,7 +328,7 @@ class Flask(_PackageBoundObject):
return PackageLoader(self.import_name)
def init_jinja_globals(self):
"""Callde directly after the environment was created to inject
"""Called directly after the environment was created to inject
some defaults (like `url_for`, `get_flashed_messages` and the
`tojson` filter.