Update README.rst

This commit is contained in:
Dreftymac 2015-01-22 04:47:23 -08:00
parent 7b5d514238
commit bbb33a8021
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]``. Replace it with Jinja's slice syntax: ``x[0:1]``.
- Jinja2's ``default`` filter by itself only tests the variable for - 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 as the second argument, so that it will also provide the default
value for things that are defined but evalute to ``False`` value for things that are defined but evalute to ``False``