summaryrefslogtreecommitdiff
path: root/planet/shell/dj.py
diff options
context:
space:
mode:
Diffstat (limited to 'planet/shell/dj.py')
-rw-r--r--planet/shell/dj.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/planet/shell/dj.py b/planet/shell/dj.py
index 96bcd3b..d2199fc 100644
--- a/planet/shell/dj.py
+++ b/planet/shell/dj.py
@@ -32,7 +32,7 @@ def run(script, doc, output_file=None, options={}):
# set up the Django context by using the default htmltmpl
# datatype converters
- context = Context()
+ context = Context(autoescape=(config.django_autoescape()=='on'))
context.update(tmpl.template_info(doc))
context['Config'] = config.planet_options()
t = get_template(script)