[extensions-web] Allow a blank code review
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] Allow a blank code review
- Date: Tue, 20 Dec 2011 23:29:05 +0000 (UTC)
commit a11bd407db1f2d29ad69195a09dd8bcc4d778af1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Dec 20 16:58:57 2011 -0500
Allow a blank code review
sweettooth/review/models.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/review/models.py b/sweettooth/review/models.py
index 40eb9ab..2c49f7e 100644
--- a/sweettooth/review/models.py
+++ b/sweettooth/review/models.py
@@ -16,7 +16,7 @@ def get_all_reviewers():
class CodeReview(models.Model):
reviewer = models.ForeignKey(User)
date = models.DateTimeField(auto_now_add=True)
- comments = models.TextField()
+ comments = models.TextField(blank=True)
version = models.ForeignKey(ExtensionVersion, related_name="reviews")
changelog = models.OneToOneField('ChangeStatusLog', null=True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]