Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #19391 -- Oracle specific failure in tests

The failure was caused by using None as a choice for a CharField. To
avoid Oracle's "" <-> NULL handling the field type was changed to
  • Loading branch information...
commit 632cf32b43609f7d674c81f81f01eb9e4a059f1f 1 parent c196e01
@akaariai akaariai authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/regressiontests/admin_views/
4 tests/regressiontests/admin_views/
@@ -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')))
Please sign in to comment.
Something went wrong with that request. Please try again.