'Regression tests for #5087
make sure we can perform queries on TextFields.'

def test_queries_on_textfields(self):

    a = Article(name=u'Test', text=u'The    quick    brown    fox    jumps    over    the    lazy    dog.')
    a.save()
    self.assertEqual(Article.objects.get(text__exact=u'The    quick    brown    fox    jumps    over    the    lazy    dog.'), a)
    self.assertEqual(Article.objects.get(text__contains=u'quick    brown    fox'), a)
