fix: make title as optional for issue links (#1641)

This commit is contained in:
Nikhil 2023-07-25 14:22:38 +05:30 committed by GitHub
parent c87d70195d
commit 679c97bbe3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,7 @@ class IssueAssignee(ProjectBaseModel):
class IssueLink(ProjectBaseModel): class IssueLink(ProjectBaseModel):
title = models.CharField(max_length=255, null=True) title = models.CharField(max_length=255, null=True, blank=True)
url = models.URLField() url = models.URLField()
issue = models.ForeignKey( issue = models.ForeignKey(
"db.Issue", on_delete=models.CASCADE, related_name="issue_link" "db.Issue", on_delete=models.CASCADE, related_name="issue_link"