title: Django - Checking datetime in an 'if' statement
body: <p>I have a model very imaginatively called '<code>model</code>' which has a field '<code>datefinish</code>' in it; users can input a date here in the format MM/DD/YYYY. In my template I need some text displayed when said model has a <code>datefinish</code> (date) that is equal to the current day.</p>
  
  <p>HTML:</p>
  
  <pre><code>{% if model.datefinish == datetime.today %}
     &lt;h5&gt;It ends today&lt;/h5&gt;
  {% else %}
     &lt;h5&gt;It does not end today&lt;/h5&gt;
  {% endif %}
  </code></pre>
  
  <p>How might one achieve this?
  I'm using Django 1.10...thanks!</p>