From a0af644ce45bbe5328d795c18890d9a505c9ffe5 Mon Sep 17 00:00:00 2001
From: Nate Bragg <jonathan.bragg@alum.rpi.edu>
Date: Mon, 19 Mar 2012 07:31:17 -0400
Subject: [PATCH] Oracle can't handle columns named 'number'.
---
tests/regressiontests/admin_changelist/models.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tests/regressiontests/admin_changelist/models.py b/tests/regressiontests/admin_changelist/models.py
index 6b443bf..95e69fc 100644
a
|
b
|
class OrderedObject(models.Model):
|
78 | 78 | """ |
79 | 79 | name = models.CharField(max_length=255) |
80 | 80 | bool = models.BooleanField(default=True) |
81 | | number = models.IntegerField(default=0) |
| 81 | number = models.IntegerField(default=0,db_column='number_val') |
82 | 82 | |
83 | 83 | objects = OrderedObjectManager() |
| 84 | No newline at end of file |