Using django 1.0 and django-registration I'm getting this error:

save() got an unexpected keyword argument 'force_insert'

I've read some docs about adding force_insert as a keyword, but I
guess I'm not seeing where/how to do that.

Also, I don't really think there's any problem with django-
registration. I suspect the problem may be related to my
profile_callback:

def create_site_user(new_user):
        new_user_profile = SiteUser.objects.create(
                user=new_user,
                site = Site.objects.get_current()
        )
        new_user_profile.save()

I've also tried it with
new_user_profile.save(force_insert=True) but get the same error.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to