- New flag on Template, TemplateLookup -
strict_undefined=True, will cause variables not found in the context to raise a NameError immediately, instead of defaulting to the UNDEFINED value.
Showing
- CHANGES 7 additions, 0 deletionsCHANGES
- doc/build/content/runtime.txt 42 additions, 5 deletionsdoc/build/content/runtime.txt
- mako/__init__.py 1 addition, 1 deletionmako/__init__.py
- mako/codegen.py 36 additions, 7 deletionsmako/codegen.py
- mako/lookup.py 2 additions, 0 deletionsmako/lookup.py
- mako/template.py 7 additions, 3 deletionsmako/template.py
- test/__init__.py 9 additions, 0 deletionstest/__init__.py
- test/test_template.py 48 additions, 2 deletionstest/test_template.py
Loading
Please register or sign in to comment