Please help me. Thanks!
+1
A:
You could always modify this line to:
new_user = RegistrationProfile.objects.create_inactive_user(username=self.cleaned_data['username'],
password=self.cleaned_data['password1'],
email=self.cleaned_data['email'],
profile_callback=profile_callback,
send_email = False)
Or you could change this line to:
def create_inactive_user(self, username, password, email,
send_email=False, profile_callback=None):
Dominic Rodger
2009-12-03 10:31:43
You need to call activate_user though (or else the user's account will be unusable)
Jiaaro
2009-12-03 17:04:31
In new version of django-register, file forms.py doesn't like this so far. Check this link: http://bitbucket.org/ubernostrum/django-registration/src/tip/registration/forms.py
Tran Tuan Anh
2009-12-04 05:08:37
A:
Jiaaro
2009-12-03 16:42:18
Did I get it wrong? I've not tried my code out, just took a look at the code in django-registration.
Dominic Rodger
2009-12-03 16:47:43
No I actually just edited my answer because I think both of our solutions are necessary :)
Jiaaro
2009-12-03 16:49:58