8

Replaces choice field segment status with boolean

This commit is contained in:
Jasper Berghoef
2017-06-09 15:27:29 +02:00
parent a47803eca5
commit be672f6fde
9 changed files with 47 additions and 31 deletions

View File

@@ -7,7 +7,7 @@ from wagtail_personalisation import models
class SegmentFactory(factory.DjangoModelFactory):
name = 'TestSegment'
status = models.Segment.STATUS_ENABLED
enabled = True
class Meta:
model = models.Segment