Commit Graph

17 Commits

Author SHA1 Message Date
Alex Oleshkevich 0308681883
Add `request` argument to `TemplateResponse` (#2191)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2023-07-13 01:58:13 -06:00
Alex Oleshkevich d155d3b588
Add env argument to Jinja2Templates, deprecate **env_options. (ref #2134) (#2159)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2023-06-05 12:20:36 -06:00
Dr. Matthew Swabey 22575e67ab
Add missing type hints to Jinja2Templates() (#2157)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2023-05-31 15:55:08 +00:00
Alex Oleshkevich 008e3a51c5
Add template context processors. (#1904)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2022-12-29 17:41:41 +03:00
Marcelo Trylesinski eb76552d53
Add import statement on "Testing template responses" section (#1986) 2022-12-25 19:25:51 +01:00
David Larlet 4289d55e2a
Fix a typo in templates documentation (minor) (#1484) 2022-02-09 09:02:30 +00:00
chaojie 5d768322d6
Update document about jinja2 custom filters link (#1480) 2022-02-08 15:19:02 +00:00
Amin Alaee 3e6b26d836
Allow Environment options in `Jinja2Templates` (#1401) 2022-01-19 14:38:57 +01:00
Eneko Illarramendi c5239ba89b Document custom filters for Jinja2 (#737) 2019-12-10 14:58:44 +00:00
Tom Christie 7f8cd04173
Version 0.13 (#704)
* Version 0.13

* Fix misnamed requirement

* Updating routing docs

* Update routing docs

* Update docs

* Simpler Middleware signature

* Update middleware docs

* Update exception docs

* Allow 'None' in middleware lists, for easy disabling of middleware.

* Update README
2019-11-13 12:25:18 +00:00
Jordan bde497e0aa Remove staticfiles note 2019-06-17 22:52:43 +10:00
Jordan c902f98715 Include import and note in docs 2019-06-17 12:28:04 +10:00
Tom Christie 9b57e516cc Docs and version bump 2019-02-18 13:38:04 +00:00
Tom Christie 37ee43efc2 Add Jinja2Templates component 2019-02-18 13:12:55 +00:00
Tom Christie 2ef21f49c9
Jinja2 (#198)
* Use jinja2 for a default template configuration

* Add release notes
2018-11-08 16:14:14 +00:00
Tom Christie 380351027b Add template snippet 2018-11-06 17:03:34 +00:00
Tom Christie efecf56735
Add support for name to mount points. (#184)
* Support name on app.mount(...)

* Add templating docs

* Remove erronous commit

* Linting
2018-11-06 16:57:57 +00:00