Mercurial > public > sg101
diff gpp/bio/models.py @ 96:93d9e74a471e
Forums: added forum post counts for each user in the user profile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Sep 2009 18:43:08 +0000 |
parents | c0d3b09c9b95 |
children | f8f4514b806a |
line wrap: on
line diff
--- a/gpp/bio/models.py Sun Sep 13 18:05:18 2009 +0000 +++ b/gpp/bio/models.py Sun Sep 13 18:43:08 2009 +0000 @@ -36,6 +36,7 @@ avatar = models.ImageField(upload_to=avatar_file_path, blank=True) time_zone = models.CharField(max_length=64, blank=True, default='US/Pacific') + forum_post_count = models.IntegerField(default=0) def __unicode__(self): return self.user.username