diff --git a/tests/regressiontests/admin_views/models.py b/tests/regressiontests/admin_views/models.py index 003b6ce8b2..c641cfc0e6 100644 --- a/tests/regressiontests/admin_views/models.py +++ b/tests/regressiontests/admin_views/models.py @@ -662,5 +662,5 @@ class Simple(models.Model): """ class Choice(models.Model): - choice = models.CharField(max_length=1, blank=True, null=True, - choices=(('y','Yes'), ('n','No'), (None, 'No opinion'))) + choice = models.IntegerField(blank=True, null=True, + choices=((1, 'Yes'), (0, 'No'), (None, 'No opinion')))