Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Oracle defer test failure; refs #16436.

Oracle doesn't like grouping by TextField, so use CharFields instead in
models.

Backport of 728d3fe from master
  • Loading branch information...
commit ed67184b3051c392a6cb722e889c062233730c2e 1 parent 166be6a
Tim Graham authored October 21, 2013

Showing 1 changed file with 6 additions and 6 deletions. Show diff stats Hide diff stats

  1. 12  tests/modeltests/defer/models.py
12  tests/modeltests/defer/models.py
@@ -30,10 +30,10 @@ class Meta:
30 30
         proxy=True
31 31
 
32 32
 class Profile(models.Model):
33  
-    profile1 = models.TextField(default='profile1')
  33
+    profile1 = models.CharField(max_length=1000, default='profile1')
34 34
 
35 35
 class Location(models.Model):
36  
-    location1 = models.TextField(default='location1')
  36
+    location1 = models.CharField(max_length=1000, default='location1')
37 37
 
38 38
 class Item(models.Model):
39 39
     pass
@@ -43,7 +43,7 @@ class Request(models.Model):
43 43
     location = models.ForeignKey(Location)
44 44
     items = models.ManyToManyField(Item)
45 45
 
46  
-    request1 = models.TextField(default='request1')
47  
-    request2 = models.TextField(default='request2')
48  
-    request3 = models.TextField(default='request3')
49  
-    request4 = models.TextField(default='request4')
  46
+    request1 = models.CharField(default='request1', max_length=1000)
  47
+    request2 = models.CharField(default='request2', max_length=1000)
  48
+    request3 = models.CharField(default='request3', max_length=1000)
  49
+    request4 = models.CharField(default='request4', max_length=1000)

0 notes on commit ed67184

Please sign in to comment.
Something went wrong with that request. Please try again.