Mercurial > public > sg101
diff gpp/bio/forms.py @ 312:88b2b9cb8c1f
Fixing #142; cut over to the django.contrib.staticfiles app.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 27 Jan 2011 02:56:10 +0000 |
parents | 1ba2c6bf6eb7 |
children | e28aee19f7c9 |
line wrap: on
line diff
--- a/gpp/bio/forms.py Thu Jan 20 04:40:14 2011 +0000 +++ b/gpp/bio/forms.py Thu Jan 27 02:56:10 2011 +0000 @@ -31,9 +31,9 @@ interests = forms.CharField(required=False, widget=forms.TextInput(attrs={'size' : 64 })) time_zone = forms.CharField(required=False, widget=forms.HiddenInput()) use_24_time = forms.BooleanField(label='Show times in 24-hour mode', required=False) - profile_text = forms.CharField(required=False, + profile_text = forms.CharField(required=False, widget=forms.Textarea(attrs={'class': 'markItUp'})) - signature = forms.CharField(required=False, + signature = forms.CharField(required=False, widget=forms.Textarea(attrs={'class': 'markItUp'})) class Meta: @@ -95,7 +95,7 @@ s = StringIO() self.image.save(s, self.file_type) return name, ContentFile(s.getvalue()) - + return name, self.cleaned_data['avatar_file']