Fix bug in SELECT_CHOICES relying on Django not actually converting the database data to integers

- Legacy-Id: 3787
This commit is contained in:
Ole Laursen 2011-12-23 16:47:38 +00:00
parent 9ae5f6a456
commit 612c6db6cd

View file

@ -29,6 +29,9 @@ SELECT_CHOICES = (
("0", 'NO'),
("1", 'YES'),
("2", 'NO'),
(0, 'NO'), # with new schema, choices are really numeric
(1, 'YES'),
(2, 'NO'),
)
STATUS_CHOICES = (
( 0, "Waiting for approval" ),