diff options
author | bnewbold <bnewbold@manus.(none)> | 2007-02-22 00:19:06 -0800 |
---|---|---|
committer | bnewbold <bnewbold@manus.(none)> | 2007-02-22 00:19:06 -0800 |
commit | fde421c01eb374054d2e442808587810fdfed5ce (patch) | |
tree | 26254620307dac3cddd59dcaceab658e1b37ea59 /bn_django/git_browse | |
parent | c620485c01ca577980792b24e9e2fa8c7e5eed31 (diff) | |
download | bnewnet-fde421c01eb374054d2e442808587810fdfed5ce.tar.gz bnewnet-fde421c01eb374054d2e442808587810fdfed5ce.zip |
major git_wiki progress + fixed syncdb problems (model attributes missing)
Diffstat (limited to 'bn_django/git_browse')
-rw-r--r-- | bn_django/git_browse/models.py | 10 |
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() |