1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed d14dd69

Extensions need to be instantiated in wheezy.template.

  • Participants
  • Parent commits fd654fc
  • Branches default

Comments (0)

Files changed (1)

File demos/template/src/config.py

View file
  • Ignore whitespace
         extensions=[
             InlineExtension(searchpath, fallback=config.getboolean(
                 'wheezy.template', 'inline-preprocessor-fallback')),
-            CoreExtension,
-            WidgetExtension,
-            WhitespaceExtension,
+            CoreExtension(),
+            WidgetExtension(),
+            WhitespaceExtension(),
         ]), enabled=config.getboolean('wheezy.template', 'auto-reload'))
     engine.global_vars.update({
         'format_value': format_value,