title: Save datefield from template: error "value has an invalid date format. It must be in YYYY-MM-DD format."
body: <p>Now i have to insert data in <code>AAAA-MM-DD</code> format, if i want insert <code>%m/%d/%Y</code>, <code>%m/%d/%y</code> format, what i can do? 
  Thanks i'm new on Django.</p>
  
  <p>I have template where i insert Data:</p>
  
  <p><strong>TEMPLATE</strong></p>
  
  <pre><code>&lt;tr&gt;
      &lt;td&gt;N_Prova&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" name="nprova"/&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td&gt;Date Analysis&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" name="date_analysis" /&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p><strong>MODEL</strong></p>
  
  <pre><code>class Analysis(models.Model):
      nprova = models.CharField(unique=True, max_length=20, null=False, blank=False)
      date_analysis = models.DateField(null=True)
  </code></pre>
  
  <p><strong>VIEW</strong></p>
  
  <pre><code>    def addanalisi(request):
  
          if 'save' in request.POST:
              print("save is in request post")
  
              newanal = analysis(nprova=nprova,data_analysis=date_analysis)
              newanal.save()
  
              print(nprova,data_analysis)
              return redirect('/listanalysis/')
  
          analysis = Analysis.objects.all()
          template = 'italgraniti/addanalysis.html'
          context_instance = RequestContext(request)
  
  return render_to_response(template, {'form': form, 'analysis' : analysis}, context_instance)
  </code></pre>