This is reflected in the migration but not the model.
Signed-off-by: Stephen Finucane <[email protected]>
Fixes: c1d8a0d ("Fix series.project migration logic")
Cc: Andy Doan <[email protected]>
---
patchwork/models.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/patchwork/models.py b/patchwork/models.py
index ea40fbf..e5d844d 100644
--- a/patchwork/models.py
+++ b/patchwork/models.py
@@ -550,7 +550,8 @@ class Series(models.Model):
"""An collection of patches."""
# parent
- project = models.ForeignKey(Project, related_name='series')
+ project = models.ForeignKey(Project, related_name='series', null=True,
+ blank=True)
# content
cover_letter = models.ForeignKey(CoverLetter,
--
2.9.3
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork