mirror of
https://github.com/django/django.git
synced 2025-03-31 19:46:42 +00:00
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):
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user