fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dbfc184
)
Dobra nazwa dla argumentu (required -> blank).
author
zuber
<marek@stepniowski.com>
Thu, 5 Nov 2009 13:02:06 +0000
(14:02 +0100)
committer
zuber
<marek@stepniowski.com>
Thu, 5 Nov 2009 13:02:06 +0000
(14:02 +0100)
apps/api/models.py
patch
|
blob
|
history
diff --git
a/apps/api/models.py
b/apps/api/models.py
index
8681990
..
cd9a395
100644
(file)
--- 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)
# 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=Fals
e)
+ target_revision = models.CharField(max_length=40,
blank=Tru
e)
# current status
status = models.CharField(max_length=1, choices=REQUEST_STATUSES.items())
# current status
status = models.CharField(max_length=1, choices=REQUEST_STATUSES.items())