diff options
author | David Lord <davidism@gmail.com> | 2022-02-18 07:14:18 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2022-02-18 07:14:18 -0800 |
commit | bb7f3a51091d91010deb1e01e69f4f255d3b3eb6 (patch) | |
tree | f44ec34cc490d4d91c1134e316300398abcc55ab | |
parent | df59bde6ae54d2458acce3c25c5d35f38e456a9c (diff) | |
parent | 681f8de8421183cf4ed35547c723cb0a3d9a2955 (diff) | |
download | jinja2-bb7f3a51091d91010deb1e01e69f4f255d3b3eb6.tar.gz |
Merge branch '3.0.x'
-rw-r--r-- | src/jinja2/environment.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jinja2/environment.py b/src/jinja2/environment.py index 0c380c8..9dd455a 100644 --- a/src/jinja2/environment.py +++ b/src/jinja2/environment.py @@ -973,7 +973,9 @@ class Environment: :class:`Template`. If the template does not exist a :exc:`TemplateNotFound` exception is raised. - :param name: Name of the template to load. + :param name: Name of the template to load. When loading + templates from the filesystem, "/" is used as the path + separator, even on Windows. :param parent: The name of the parent template importing this template. :meth:`join_path` can be used to implement name transformations with this. |