diff gpp/bio/models.py @ 70:c0d3b09c9b95

#18 - Add time zone field to user profile.
author Brian Neal <bgneal@gmail.com>
date Wed, 01 Jul 2009 17:57:11 +0000
parents e249b5f9d180
children 93d9e74a471e
line wrap: on
line diff
--- a/gpp/bio/models.py	Sun Jun 28 18:54:29 2009 +0000
+++ b/gpp/bio/models.py	Wed Jul 01 17:57:11 2009 +0000
@@ -34,6 +34,8 @@
     signature = models.TextField(blank=True)
     signature_html = models.TextField(blank=True)
     avatar = models.ImageField(upload_to=avatar_file_path, blank=True)
+    time_zone = models.CharField(max_length=64, blank=True,
+            default='US/Pacific')
 
     def __unicode__(self):
         return self.user.username