From de5f9a515e841be926b0efb279d4626688089dc1 Mon Sep 17 00:00:00 2001 From: Zambom Date: Thu, 22 Dec 2016 14:25:50 -0200 Subject: [PATCH] Adding show_email field to register form --- users/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/forms.py b/users/forms.py index 393a422..d837fe9 100644 --- a/users/forms.py +++ b/users/forms.py @@ -52,7 +52,7 @@ class RegisterUserForm(Validation): class Meta: model = User - fields = ['email', 'username', 'last_name', 'social_name', 'image',] + fields = ['email', 'username', 'last_name', 'social_name', 'image', 'show_email', ] class ProfileForm(Validation): password = forms.CharField(label=_('Password'), widget = forms.PasswordInput, required = False) -- libgit2 0.21.2