Get rid of 'allow_contact' field for UserProfile since it is unused.
authorgibus
Thu, 03 Oct 2013 10:46:05 +0200
changeset 544 18ac07f35974
parent 543 471c3ae269da
child 546 9bac72438057
Get rid of 'allow_contact' field for UserProfile since it is unused.
src/cm/views/user.py
--- a/src/cm/views/user.py	Thu Oct 03 10:44:46 2013 +0200
+++ b/src/cm/views/user.py	Thu Oct 03 10:46:05 2013 +0200
@@ -202,12 +202,12 @@
 class UserProfileForm(ModelForm):
     class Meta:
         model = UserProfile
-        fields = ('allow_contact', 'is_suspended', 'tags')
+        fields = ('is_suspended', 'tags')
 
 class MyUserProfileForm(ModelForm):
     class Meta:
         model = UserProfile
-        fields = ('allow_contact', 'tags')
+        fields = ('tags',)
 
 class UserProfileAddForm(ModelForm):
     class Meta: