From: zuber Date: Thu, 5 Nov 2009 13:02:06 +0000 (+0100) Subject: Dobra nazwa dla argumentu (required -> blank). X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/97a587e5e522f4f94b97eb6e54c7a0a13ec34963?ds=inline;hp=-c Dobra nazwa dla argumentu (required -> blank). --- 97a587e5e522f4f94b97eb6e54c7a0a13ec34963 diff --git a/apps/api/models.py b/apps/api/models.py index 8681990e..cd9a3958 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, required=False) + target_revision = models.CharField(max_length=40, blank=True) # current status status = models.CharField(max_length=1, choices=REQUEST_STATUSES.items())