title: TimeField format in Django template
body: <p>I'm writing an application in <code>Django</code> and using several <code>TimeFields</code> in a model. I only want to work with the time format hh:mm (not hh:mm:ss or hh p.m./a.m. or other things).
  I have set the django setting <code>TIME_FORMAT = 'H:i'</code> and <code>USE_L10N = False</code> according to the documentation, </p>
  
  <blockquote>
    <p><code>USE_L10N</code> overrides <code>TIME_FORMAT</code> if set to <code>True</code></p>
  </blockquote>
  
  <p>In my template I'm using input boxes automatically created by Django like:</p>
  
  <pre><code>{{formName.timeField}}
  </code></pre>
  
  <p>The problem is that as long as I introduce something like "10:00" and do a <code>POST</code>, when the <code>POST</code> is done Django (or whatever) turns it into "10:00:00" (so it adds the seconds).</p>
  
  <ul>
  <li>Is there a way to specify the format in which datetime fields display saved dates? If I could just use something like <code>|date:"H:i"</code> in the value of the input box that would do the trick.</li>
  </ul>
  
  <p>On the other side I know I could do the input box manually (not directly using <code>{{formName.timeField}}</code>), but I've had some problems in the past with that so I would like to avoid that (at least for the moment).</p>
  
  <p>There is also this similar question in <a href="https://stackoverflow.com/questions/1240278/django-timefield-model-without-seconds">Django TimeField Model without seconds</a>, but the solution does not work (it gives me '<code>NoneType</code>' object has no attribute '<code>strptime</code>')</p>