Mercurial > public > sg101
diff gpp/bio/models.py @ 120:f8f4514b806a
Added a 24-hour time preference flag in the user profile. Added forum template tags for showing forum dates/times adjusted for the user's time zone.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 25 Oct 2009 21:55:28 +0000 |
parents | 93d9e74a471e |
children | 9c18250972d5 |
line wrap: on
line diff
--- a/gpp/bio/models.py Sat Oct 24 02:39:54 2009 +0000 +++ b/gpp/bio/models.py Sun Oct 25 21:55:28 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') + use_24_time = models.BooleanField(default=False) forum_post_count = models.IntegerField(default=0) def __unicode__(self):