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:
parent
b197fa7ece
commit
bd40c32f6c
|
@ -9,8 +9,8 @@ from django.db import models
|
|||
#
|
||||
|
||||
class Number(models.Model):
|
||||
integer = models.IntegerField()
|
||||
float = models.FloatField(null=True)
|
||||
integer = models.IntegerField(db_column='the_integer')
|
||||
float = models.FloatField(null=True, db_column='the_float')
|
||||
|
||||
def __unicode__(self):
|
||||
return u'%i, %.3f' % (self.integer, self.float)
|
||||
|
|
Loading…
Reference in New Issue