title: How can I set a DateField format in django from the model?
body: <p>I am creating a django application and I have the next problem: this error is shown when I want to set a date:</p>
  
  <pre><code>ValidationError [u"'12/06/2012' value has an invalid date format. It must be in YYYY-MM-DD format."]
  </code></pre>
  
  <p>For this model:</p>
  
  <pre><code>class ModelA(models.Model):
  
      date1 = models.DateField(null=True)
      date2 = models.DateField(null=True)
  </code></pre>
  
  <p>How can I set the DateField format to be <code>%m/%d/%Y</code>.</p>
  
  <p>The option <code>"input_formats"</code> is not recognized.</p>
  
  <p>Thank you!</p>