"Merge pull request #85 from dreftymac/patch-1\n\nUpdate README.rst"

This commit is contained in:
Michael Elsdörfer 2015-01-24 13:28:59 +01:00
commit 5aa4eba13b
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ never will, requiring manual changes on your part:
Replace it with Jinja's slice syntax: ``x[0:1]``.
- Jinja2's ``default`` filter by itself only tests the variable for
**existance**. To match Django's behaviour, you need to pass ``True``
**existence**. To match Django's behaviour, you need to pass ``True``
as the second argument, so that it will also provide the default
value for things that are defined but evalute to ``False``