From 904f61c2988af2e27701a9ea47140abab12624aa Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sun, 17 Apr 2011 09:30:10 -0500 Subject: [PATCH] documentation for get_jinja_env --- mediagoblin/util.py | 7 +++++++ 1 file changed, 7 insertions(+) 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),