feat(if): Support inequality operator

This commit is contained in:
Kyle Fuller
2016-11-28 17:56:49 +00:00
parent e989317929
commit ab6f1a032d
5 changed files with 40 additions and 5 deletions

View File

@@ -106,6 +106,17 @@ Will be treated as:
.. note:: The equality operator only supports numerical, string and boolean types.
``!=`` operator
"""""""""""""""
.. code-block:: html+django
{% if value != other_value %}
value is not equal to other_value
{% endif %}
.. note:: The inequality operator only supports numerical, string and boolean types.
``ifnot``
~~~~~~~~~