Fixing sample data
parent
240d57194f
commit
f6d8d34433
|
@ -36,8 +36,8 @@ ISSUESTATUSES = (
|
||||||
)
|
)
|
||||||
|
|
||||||
USSTATUSES = (
|
USSTATUSES = (
|
||||||
(1, _("Open"), False),
|
(1, _(u"Open"), False),
|
||||||
(2, _("Closed"), True),
|
(2, _(u"Closed"), True),
|
||||||
)
|
)
|
||||||
|
|
||||||
ISSUETYPES = (
|
ISSUETYPES = (
|
||||||
|
|
|
@ -150,6 +150,8 @@ class Command(BaseCommand):
|
||||||
tags=[]
|
tags=[]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
us.save()
|
||||||
|
|
||||||
for role in project.list_roles:
|
for role in project.list_roles:
|
||||||
if milestone:
|
if milestone:
|
||||||
points=self.sd.db_object_from_queryset(Points.objects.filter(project=project).exclude(order=0))
|
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(" "):
|
for tag in self.sd.words().split(" "):
|
||||||
us.tags.append(tag)
|
us.tags.append(tag)
|
||||||
|
|
||||||
us.save()
|
|
||||||
return us
|
return us
|
||||||
|
|
||||||
def create_milestone(self, project, start_date, end_date):
|
def create_milestone(self, project, start_date, end_date):
|
||||||
|
|
Loading…
Reference in New Issue