This commit is contained in:
bkfox
2017-08-21 17:00:02 +02:00
parent 858aa7baf3
commit 29b5cbf6bb
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ class BaseList(models.Model):
),
related_name = '+'
)
relation = models.BooleanField(
relation = models.SmallIntegerField(
verbose_name = _('relation'),
choices = [ (int(y), _(x.replace('_', ' ')))
for x,y in RelationFilter.__members__.items() ],