Fix bug in SELECT_CHOICES relying on Django not actually converting the database data to integers
- Legacy-Id: 3787
This commit is contained in:
parent
9ae5f6a456
commit
612c6db6cd
|
@ -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" ),
|
||||
|
|
Loading…
Reference in a new issue