8

Update the help text migration

This commit is contained in:
Todd Dembrey
2017-10-20 17:17:31 +01:00
parent ff236a095d
commit 0d2834a55f
2 changed files with 2 additions and 3 deletions

View File

@@ -26,6 +26,6 @@ class Migration(migrations.Migration):
migrations.AddField( migrations.AddField(
model_name='segment', model_name='segment',
name='type', name='type',
field=models.CharField(choices=[('dynamic', 'Dynamic'), ('static', 'Static')], default='dynamic', help_text='The users in a dynamic segment will change as more or less users meet the rules specified in the segment. Static segments will contain the members that existed at creation.', max_length=20), field=models.CharField(choices=[('dynamic', 'Dynamic'), ('static', 'Static')], default='dynamic', help_text='\n </br></br><strong>Dynamic:</strong> Users in this segment will change\n as more or less meet the rules specified in the segment.\n </br><strong>Static:</strong> If the segment contains only static\n compatible rules the segment will contain the members that pass\n those rules when the segment is created. Mixed static segments or\n those containing entirely non static compatible rules will be\n populated using the count variable.\n ', max_length=20),
), ),
] ]

View File

@@ -88,8 +88,7 @@ class Segment(ClusterableModel):
those rules when the segment is created. Mixed static segments or those rules when the segment is created. Mixed static segments or
those containing entirely non static compatible rules will be those containing entirely non static compatible rules will be
populated using the count variable. populated using the count variable.
""" """))
))
) )
count = models.PositiveSmallIntegerField( count = models.PositiveSmallIntegerField(
default=0, default=0,