X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/5a8f55e2911b9a6aa38499da2c54b6068152f1cf..dbfc1841d5b6849463d527772781a3ba586fefa0:/apps/api/models.py diff --git a/apps/api/models.py b/apps/api/models.py index 82525898..8681990e 100644 --- a/apps/api/models.py +++ b/apps/api/models.py @@ -41,7 +41,7 @@ class PullRequest(models.Model): # revision to be merged into the main branch source_revision = models.CharField(max_length=40, unique=True) - target_revision = models.CharField(max_length=40) + target_revision = models.CharField(max_length=40, required=False) # current status status = models.CharField(max_length=1, choices=REQUEST_STATUSES.items())