Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
apps/users: fix field get_newsletter in registartion form
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzylogic2000 committed Oct 21, 2019
1 parent 3b5af6f commit afff52d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/users/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class TermsSignupForm(auth_forms.UserCreationForm):
})

def signup(self, request, user):
user.get_newsletters = self.cleaned_data["get_newsletters"]
user.signup(
self.cleaned_data['username'],
self.cleaned_data['email'],
Expand Down

0 comments on commit afff52d

Please sign in to comment.