From ed67184b3051c392a6cb722e889c062233730c2e Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Mon, 21 Oct 2013 18:56:25 -0400 Subject: [PATCH] Oracle defer test failure; refs #16436. Oracle doesn't like grouping by TextField, so use CharFields instead in models. Backport of 728d3fe1bac6b5f23dbd088e11860cfba51cf7b5 from master --- tests/modeltests/defer/models.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/modeltests/defer/models.py b/tests/modeltests/defer/models.py index f42f865362..93e3b95609 100644 --- a/tests/modeltests/defer/models.py +++ b/tests/modeltests/defer/models.py @@ -30,10 +30,10 @@ class ChildProxy(Child): proxy=True class Profile(models.Model): - profile1 = models.TextField(default='profile1') + profile1 = models.CharField(max_length=1000, default='profile1') class Location(models.Model): - location1 = models.TextField(default='location1') + location1 = models.CharField(max_length=1000, default='location1') class Item(models.Model): pass @@ -43,7 +43,7 @@ class Request(models.Model): location = models.ForeignKey(Location) items = models.ManyToManyField(Item) - request1 = models.TextField(default='request1') - request2 = models.TextField(default='request2') - request3 = models.TextField(default='request3') - request4 = models.TextField(default='request4') + request1 = models.CharField(default='request1', max_length=1000) + request2 = models.CharField(default='request2', max_length=1000) + request3 = models.CharField(default='request3', max_length=1000) + request4 = models.CharField(default='request4', max_length=1000)