diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-17 09:30:10 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-17 09:30:10 -0500 |
commit | 904f61c2988af2e27701a9ea47140abab12624aa (patch) | |
tree | 506a3581339c7e46915062f52d180c84ff4b0dca /mediagoblin/util.py | |
parent | 5afb92275cddb1c971a80a4516c9a42de475c2d5 (diff) | |
download | mediagoblin-904f61c2988af2e27701a9ea47140abab12624aa.tar.lz mediagoblin-904f61c2988af2e27701a9ea47140abab12624aa.tar.xz mediagoblin-904f61c2988af2e27701a9ea47140abab12624aa.zip |
documentation for get_jinja_env
Diffstat (limited to 'mediagoblin/util.py')
-rw-r--r-- | mediagoblin/util.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mediagoblin/util.py b/mediagoblin/util.py index d8d981c9..bd509256 100644 --- a/mediagoblin/util.py +++ b/mediagoblin/util.py @@ -18,6 +18,13 @@ import jinja2 import mongokit def get_jinja_env(user_template_path=None): + """ + Set up the Jinja environment, possibly allowing for user + overridden templates. + + (In the future we may have another system for providing theming; + for now this is good enough.) + """ if user_template_path: loader = jinja2.ChoiceLoader( [jinja2.FileSystemLoader(user_template_path), |