aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_browse
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_browse')
-rw-r--r--bn_django/git_browse/models.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bn_django/git_browse/models.py b/bn_django/git_browse/models.py
index 4cc73a3..315365a 100644
--- a/bn_django/git_browse/models.py
+++ b/bn_django/git_browse/models.py
@@ -159,10 +159,12 @@ class Commit(models.Model):
rawdiff = models.TextField("ASCII contents of full commit diff")
commit_date = models.DateField("Date of commit to repository")
author_date = models.DateField("Date commit was writen/created")
- author = models.CharField("Name of commit author")
- author_email = models.DateField("Email address of commit author")
- committer = models.CharField("Name of committer")
- committer_email = models.DateField("Email address of committer")
+ author = models.CharField("Name of commit author", maxlength=96)
+ author_email = models.CharField("Email address of commit author", \
+ maxlength=196)
+ committer = models.CharField("Name of committer", maxlength=96)
+ committer_email = models.CharField("Email address of committer", \
+ maxlength=196)
comment = models.TextField("Notes on the commit")
parenthash = models.CharField("parent's hash", maxlength=40)
#TODO: parent = models.ForeignKey()