'Create 3 BasicModel instances.'

def setUp(self):

    items = [u'foo', u'bar', u'baz', u'filtered    out']
    for item in items:
        BasicModel(text=item).save()
    self.objects = BasicModel.objects.exclude(text=u'filtered    out')
    self.data = [{u'id': obj.id, u'text': obj.text} for obj in self.objects.all()]
    self.view = InstanceView.as_view()
    self.slug_based_view = SlugBasedInstanceView.as_view()
