title: Date type field value format in Django template
body: <p>I have custom form in template file.</p>
  
  <pre><code>&lt;form&gt; &lt;input type="date" value={{info.from_date|date:'Y-m-d'}}&gt; &lt;/form&gt;
  </code></pre>
  
  <p>Here <code>info.from_date</code> is <code>context data</code>.</p>
  
  <p>In this case in FORM on page, date is always showing in format <code>'dd-mm-yyyy'</code>.
  But I want in <code>'mm-dd-yyyy'</code>. So how to change this format.</p>
  
  <p>Problem is not in the whole template. problem is in the value of a date field.So i have mentioned the code also. I want to know how to format my template like this:</p>
  
  <pre><code>value={{info.from_date|date:'Y-m-d'}} in input type=date
  </code></pre>
  
  <p>Please any body share any idea !</p>