Commit Graph

17 Commits

Author SHA1 Message Date
David Lord
6aeab5d1da
Merge branch 'stable' 2024-12-21 10:47:46 -08:00
Martin Krizek
d3a0b1a4ab
use env.concat when calling block reference 2024-12-19 07:12:43 -08:00
James Addison
f8323cf404
Additional test coverage for async rendering of native type templates (#1807) 2024-07-10 09:14:52 -07:00
Martin Krizek
2903565262
support native types in macros 2021-11-10 11:17:33 -08:00
Martin Krizek
bb0db82b91
native: keep same behavior on Python 3.10 2021-11-09 08:41:02 -08:00
David Lord
da812816ff
Merge branch '2.11.x' 2020-04-13 09:26:39 -07:00
David Lord
f75cb42e4f
native only evals at end of render
Co-authored-by: Martin Krizek <mkrizek@redhat.com>
2020-04-13 08:51:38 -07:00
David Lord
148a19138c
remove _compat module 2020-02-05 08:37:40 -08:00
David Lord
4a59ac9514
Revert "rename imports to jinja"
This reverts commit 1167525b73.
2020-01-26 21:12:52 -08:00
David Lord
1167525b73
rename imports to jinja 2020-01-10 15:30:16 -08:00
David Lord
04c8787155
apply black 2020-01-10 07:54:39 -08:00
David Lord
32027ea0e6
creating a NativeTemplate creates a NativeEnvironment 2019-10-28 09:00:01 -07:00
David Lord
e5c042bb7f
preserve quotes between nodes in native env 2019-10-22 12:58:17 -07:00
Martin Krizek
9ef99dcd82 Allow to pass a list to native_concat 2018-01-17 21:38:58 +01:00
James Tanner
68820c3976 quickly fix py3 tests 2017-07-25 22:11:22 -04:00
James Tanner
2ffeb693e3 Add requested patch for safe_repr and nodes.Impossible 2017-07-25 21:48:12 -04:00
James Tanner
40bc44c994
Add support for the Environment to optionally return native types.
This works by having an alternate CodeGenerator that avoids doing to_string
after the yield statement and a new version of concat that handles the returned
generator with a bit more "intelligence".
2017-07-06 14:26:09 -07:00