Fixing sample_data

remotes/origin/issue/4795/notification_even_they_are_disabled
Alejandro Alonso 2016-06-09 14:39:13 +02:00 committed by David Barragán Merino
parent 2b82bb056f
commit b4c81f9c9d
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ class Command(BaseCommand):
project_stats = get_stats_for_project(project)
defined_points = project_stats["defined_points"]
project.total_story_points = int(defined_points * self.sd.int(5,12) / 10)
project.refresh_from_db()
project.save()
self.create_likes(project)