X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/b093ccb2e9454bb3d60e5d3e3a49e37e02125b2b..94df6dd78db144202338eae9b4e90af44b0058c2:/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())