summaryrefslogtreecommitdiff
path: root/pystache/defaults.py
diff options
context:
space:
mode:
Diffstat (limited to 'pystache/defaults.py')
-rw-r--r--pystache/defaults.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pystache/defaults.py b/pystache/defaults.py
index fcd04c3..a510cfe 100644
--- a/pystache/defaults.py
+++ b/pystache/defaults.py
@@ -17,6 +17,8 @@ except ImportError:
import os
import sys
+from pystache.common import MissingTags
+
# How to handle encoding errors when decoding strings from str to unicode.
#
@@ -36,6 +38,9 @@ STRING_ENCODING = sys.getdefaultencoding()
# strings that arise from files.
FILE_ENCODING = sys.getdefaultencoding()
+# How to handle missing tags when rendering a template.
+MISSING_TAGS = MissingTags.ignore
+
# The starting list of directories in which to search for templates when
# loading a template by file name.
SEARCH_DIRS = [os.curdir] # i.e. ['.']