comparison 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
comparison
equal deleted inserted replaced
69:9fb8e804652b 70:c0d3b09c9b95
32 profile_html = models.TextField(blank=True) 32 profile_html = models.TextField(blank=True)
33 hide_email = models.BooleanField(default=True) 33 hide_email = models.BooleanField(default=True)
34 signature = models.TextField(blank=True) 34 signature = models.TextField(blank=True)
35 signature_html = models.TextField(blank=True) 35 signature_html = models.TextField(blank=True)
36 avatar = models.ImageField(upload_to=avatar_file_path, blank=True) 36 avatar = models.ImageField(upload_to=avatar_file_path, blank=True)
37 time_zone = models.CharField(max_length=64, blank=True,
38 default='US/Pacific')
37 39
38 def __unicode__(self): 40 def __unicode__(self):
39 return self.user.username 41 return self.user.username
40 42
41 class Meta: 43 class Meta: