From 358c5a1c2a182484516781e8342dfc9772d81b04 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Mon, 19 Mar 2012 12:52:15 +0000 Subject: [PATCH] Fixed #17932 -- Tweaked the admin_changelist tests because Oracle doesn't like columns named 'number'. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17767 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/admin_changelist/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regressiontests/admin_changelist/models.py b/tests/regressiontests/admin_changelist/models.py index 6b443bf5365..6c0b78982af 100644 --- a/tests/regressiontests/admin_changelist/models.py +++ b/tests/regressiontests/admin_changelist/models.py @@ -78,6 +78,6 @@ class OrderedObject(models.Model): """ name = models.CharField(max_length=255) bool = models.BooleanField(default=True) - number = models.IntegerField(default=0) + number = models.IntegerField(default=0, db_column='number_val') - objects = OrderedObjectManager() \ No newline at end of file + objects = OrderedObjectManager()