profile/forms.py
changeset 269 dde894b36370
parent 254 5c000bf6f241
child 300 ce5f3cdbd545
--- a/profile/forms.py	Fri Jan 07 11:27:29 2011 +0530
+++ b/profile/forms.py	Fri Jan 07 11:42:34 2011 +0530
@@ -1,4 +1,3 @@
-
 import os
 import PIL
 
@@ -82,3 +81,8 @@
         
         return new_user
 
+class EditProfileForm(forms.ModelForm):
+
+    class Meta:
+        model = Profile
+        fields = ['aboutme', 'gender', 'dob', 'address', 'phonenum']