summaryrefslogtreecommitdiff
path: root/profile/forms.py
diff options
context:
space:
mode:
Diffstat (limited to 'profile/forms.py')
-rw-r--r--profile/forms.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/profile/forms.py b/profile/forms.py
index ed4b455..e1662b8 100644
--- a/profile/forms.py
+++ b/profile/forms.py
@@ -1,4 +1,3 @@
-
import os
import PIL
@@ -82,3 +81,8 @@ class CustomRegistrationForm(RegistrationFormUniqueEmail):
return new_user
+class EditProfileForm(forms.ModelForm):
+
+ class Meta:
+ model = Profile
+ fields = ['aboutme', 'gender', 'dob', 'address', 'phonenum']