comparison gpp/gcalendar/forms.py @ 458:9a4bffdf37c3

Finishing up #220. Updated to GData v2.0 and using the new OAuth access token.
author Brian Neal <bgneal@gmail.com>
date Sat, 02 Jul 2011 03:52:43 +0000
parents 88b2b9cb8c1f
children bbbc357ac5f3
comparison
equal deleted inserted replaced
457:7b7332037396 458:9a4bffdf37c3
153 pytz.timezone(tz) 153 pytz.timezone(tz)
154 except pytz.UnknownTimeZoneError: 154 except pytz.UnknownTimeZoneError:
155 raise forms.ValidationError("Invalid timezone.") 155 raise forms.ValidationError("Invalid timezone.")
156 return tz 156 return tz
157 157
158
159 class PasswordForm(forms.Form):
160 password = forms.CharField(widget=forms.PasswordInput())
161