Fixing sample data

remotes/origin/enhancement/email-actions
Alejandro Alonso 2013-07-16 11:36:39 +02:00
parent 240d57194f
commit f6d8d34433
2 changed files with 8 additions and 7 deletions

View File

@ -36,8 +36,8 @@ ISSUESTATUSES = (
)
USSTATUSES = (
(1, _("Open"), False),
(2, _("Closed"), True),
(1, _(u"Open"), False),
(2, _(u"Closed"), True),
)
ISSUETYPES = (

View File

@ -150,6 +150,8 @@ class Command(BaseCommand):
tags=[]
)
us.save()
for role in project.list_roles:
if milestone:
points=self.sd.db_object_from_queryset(Points.objects.filter(project=project).exclude(order=0))
@ -164,7 +166,6 @@ class Command(BaseCommand):
for tag in self.sd.words().split(" "):
us.tags.append(tag)
us.save()
return us
def create_milestone(self, project, start_date, end_date):