Mercurial > public > sg101
diff gpp/bio/forms.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 | 5eed5e7c1c98 |
children | f8f4514b806a |
line wrap: on
line diff
--- a/gpp/bio/forms.py Sun Jun 28 18:54:29 2009 +0000 +++ b/gpp/bio/forms.py Wed Jul 01 17:57:11 2009 +0000 @@ -30,6 +30,7 @@ location = forms.CharField(required=False, widget=forms.TextInput(attrs={'size' : 64 })) occupation = forms.CharField(required=False, widget=forms.TextInput(attrs={'size' : 64 })) interests = forms.CharField(required=False, widget=forms.TextInput(attrs={'size' : 64 })) + time_zone = forms.CharField(required=False, widget=forms.HiddenInput()) class Meta: model = UserProfile @@ -42,7 +43,7 @@ } js = settings.GPP_THIRD_PARTY_JS['markitup'] + \ settings.GPP_THIRD_PARTY_JS['jquery-ui'] + \ - ('js/bio.js', ) + ('js/bio.js', 'js/timezone.js') def get_image(file):