title: Django Rest Framework how to post date field
body: <p>I want to post JSON request with field <code>date</code>:</p>
  
  <pre><code>{
      "date":"2015-02-11T00:00:00.000Z"
  }
  </code></pre>
  
  <p>It's the string is automatically converted from <code>Date</code> object and I don't want to crop the part <code>T00:00:00.000Z</code> manually at frontend.</p>
  
  <p>But if I post such request, Django Rest Framework validator of DateField will say me, that date has invalid format.</p>
  
  <p>My model:</p>
  
  <pre><code>class Event(models.Model):
      name = models.CharField('Name', max_length=40, blank=True, null=True)
      date = models.DateField('Date', blank=True, null=True)
  </code></pre>
  
  <p>My serializer:</p>
  
  <pre><code>class EventSerializer(serializers.ModelSerializer):
      class Meta:
          model = Event
          fields = ('id', 'name', 'date')
  </code></pre>
  
  <p>What is the right way to solve this problem?</p>