Fixed some column names in the tests that were breaking the test suite on Oracle.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Ian Kelly 2009-01-30 20:02:42 +00:00
parent b197fa7ece
commit bd40c32f6c
1 changed files with 2 additions and 2 deletions

View File

@ -9,8 +9,8 @@ from django.db import models
# #
class Number(models.Model): class Number(models.Model):
integer = models.IntegerField() integer = models.IntegerField(db_column='the_integer')
float = models.FloatField(null=True) float = models.FloatField(null=True, db_column='the_float')
def __unicode__(self): def __unicode__(self):
return u'%i, %.3f' % (self.integer, self.float) return u'%i, %.3f' % (self.integer, self.float)