Allauth API change
authorCharles Connell <charles@connells.org>
Sun, 27 Apr 2014 13:57:04 +0000 (09:57 -0400)
committerCharles Connell <charles@connells.org>
Sun, 27 Apr 2014 13:57:04 +0000 (09:57 -0400)
karmaworld/apps/users/forms.py

index ac7e9a73af49d752356b675761c1307a2fc70384..f64484f383644121a12642dac9852f8e87ceb94a 100644 (file)
@@ -10,7 +10,7 @@ class SignupForm(forms.Form):
     last_name  = forms.CharField(max_length=255, required=False, label='Family name')
     email      = forms.EmailField(label='Email address')
 
-    def save(self, user):
+    def signup(self, request, user):
         user.username   = self.cleaned_data['username']
         user.first_name = self.cleaned_data['first_name']
         user.last_name  = self.cleaned_data['last_name']