'Ensure that data written to the database by a view can be read.
Refs #2879.'

def test_database_writes(self):

    self.urlopen(u'/create_model_instance/')
    self.assertQuerysetEqual(Person.objects.all().order_by(u'pk'), [u'jane', u'robert', u'emily'], (lambda b: b.name))
