Fixed the value of total_story_points in the sample data command to show the doomline more frequently. Increased the range of valid values
parent
40f7754c31
commit
ee36974d6f
|
@ -129,7 +129,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
# Set a value to total_story_points to show the deadline in the backlog
|
# Set a value to total_story_points to show the deadline in the backlog
|
||||||
defined_points = sum(project.defined_points.values())
|
defined_points = sum(project.defined_points.values())
|
||||||
project.total_story_points = int(defined_points * self.sd.int(5,10) / 10)
|
project.total_story_points = int(defined_points * self.sd.int(5,12) / 10)
|
||||||
project.save()
|
project.save()
|
||||||
|
|
||||||
# create bugs.
|
# create bugs.
|
||||||
|
|
Loading…
Reference in New Issue