'Regression test for #285
https://github.com/encode/django-rest-framework/issues/285'

def test_create_model_with_auto_now_add_field(self):

    data = {u'email': u'foobar@example.com', u'content': u'foobar'}
    request = factory.post(u'/', data, format=u'json')
    response = self.view(request).render()
    assert (response.status_code == status.HTTP_201_CREATED)
    created = self.objects.get(id=1)
    assert (created.content == u'foobar')
