Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 19 lines (11 sloc) 0.498 kb

System Message: ERROR/3 (<string>, line 1)

Unknown directive type "highlight".

.. highlight:: django

Tests if two dates are not equal.

Tests if the value is a date and not equal to the argument. The value and the argument must be a tuple of the format {Y,M,D} or {{Y,M,D},{H,I,S}}.

For example:

{% if value|ne_day:othervalue %}different days{% endif %}

This outputs “different days” if value and othervalue are dates and different.

This is useful in combination with for example the if tag.

System Message: ERROR/3 (<string>, line 18)

Unknown directive type "seealso".

.. seealso:: :ref:`filter-eq_day`
Something went wrong with that request. Please try again.