Mercurial > public > sg101
comparison gpp/bio/forms.py @ 206:272d3a8c98e8
Some minor tweaks made while rebuilding the development database after Ubuntu 10.04 install.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 03 May 2010 02:49:31 +0000 |
parents | 2baadae33f2e |
children | 1ba2c6bf6eb7 |
comparison
equal
deleted
inserted
replaced
205:da46e77cd804 | 206:272d3a8c98e8 |
---|---|
38 signature = forms.CharField(required=False, | 38 signature = forms.CharField(required=False, |
39 widget=forms.Textarea(attrs={'class': 'markItUp'})) | 39 widget=forms.Textarea(attrs={'class': 'markItUp'})) |
40 | 40 |
41 class Meta: | 41 class Meta: |
42 model = UserProfile | 42 model = UserProfile |
43 exclude = ('user', 'avatar', 'profile_html', 'signature_html', 'forum_post_count') | 43 fields = ('location', 'birthday', 'occupation', 'interests', |
44 'profile_text', 'hide_email', 'signature', 'time_zone', | |
45 'use_24_time', ) | |
44 | 46 |
45 class Media: | 47 class Media: |
46 css = { | 48 css = { |
47 'all': settings.GPP_THIRD_PARTY_CSS['markitup'] + \ | 49 'all': settings.GPP_THIRD_PARTY_CSS['markitup'] + \ |
48 settings.GPP_THIRD_PARTY_CSS['jquery-ui'] | 50 settings.GPP_THIRD_PARTY_CSS['jquery-ui'] |