author | Nishanth Amuluru <nishanth@fossee.in> |
Sat, 08 Jan 2011 13:59:59 +0530 | |
changeset 312 | a8fbe291385c |
parent 311 | de27bb39375f |
child 313 | d64b83bdf5a8 |
--- a/pytask/profile/forms.py Sat Jan 08 13:54:38 2011 +0530 +++ b/pytask/profile/forms.py Sat Jan 08 13:59:59 2011 +0530 @@ -1,5 +1,4 @@ import os -import PIL from django import forms @@ -86,6 +85,12 @@ return new_user +class CreateProfileForm(forms.ModelForm): + + class Meta: + model = Profile + fields = ['full_name', 'aboutme', 'gender', 'dob', 'address', 'phonenum'] + class EditProfileForm(forms.ModelForm): class Meta: