title: Django DateTimeField save
body: <p>I have a model </p>
  
  <pre><code>class Unit(models.Model):
      date = models.DateTimeField()
      name = models.CharField(max_length = 128)
  </code></pre>
  
  <p>Then I have a view with js jquery ui datepicker. Then I have an ajax post function with</p>
  
  <pre><code>data_send['date'] = $('#date').value;
  data_send['name'] = $('#name').value;
  $.post("/url_1/",data_send, function(data_recieve){
      alert(data_recieve);
  });
  </code></pre>
  
  <p>Then in a view I'm trying to save unit like</p>
  
  <pre><code>def url_1(request):
      unit = Unit.objects.get(pk = 1)
      unit.date = request.POST['date']
      unit.name = request.POST['name']
      unit.save()
      return HttpResponse('ok')
  </code></pre>
  
  <p>Unit.name changes, but not unit.date. I use django 1.3. I have no csrf protection. I recieve 'ok' from server.
  Why does the unit.date not save?</p>
  
  <p>Thanks</p>