1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed be3d370

Default to wheezy preprocossor if environment variable is not set.

  • Participants
  • Parent commits d953bfa
  • Branches default

Comments (0)

Files changed (1)

File demos/template/src/config.py

View file
  • Ignore whitespace
     'CRYPTO_VALIDATION_KEY': config.get('crypto', 'validation-key')
 })
 
-template_engine = os.getenv('TEMPLATE_ENGINE', 'tenjin')
+template_engine = os.getenv('TEMPLATE_ENGINE', 'wheezy.preprocessor')
 if template_engine == 'mako':
     from wheezy.html.ext.mako import inline_preprocessor
     from wheezy.html.ext.mako import whitespace_preprocessor