diff --git a/tests/regressiontests/expressions_regress/models.py b/tests/regressiontests/expressions_regress/models.py index 2edab34b64b..dfd0df050e4 100644 --- a/tests/regressiontests/expressions_regress/models.py +++ b/tests/regressiontests/expressions_regress/models.py @@ -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)