Adding null=True to the userstore status field

remotes/origin/enhancement/email-actions
Jesús Espino 2013-10-15 09:38:06 +02:00
parent 1611e97446
commit 55fd3cc0f0
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class UserStory(WatchedMixin, models.Model):
owner = models.ForeignKey(settings.AUTH_USER_MODEL, null=True, blank=True,
related_name="owned_user_stories", verbose_name=_("owner"),
on_delete=models.SET_NULL)
status = models.ForeignKey("projects.UserStoryStatus", null=False, blank=False,
status = models.ForeignKey("projects.UserStoryStatus", null=True, blank=True,
related_name="user_stories", verbose_name=_("status"),
on_delete=models.SET_NULL)
points = models.ManyToManyField("projects.Points", null=False, blank=False,