Satchmo uses "threaded_multihost.middleware.ThreadLocalMiddleware".
Verify if there is any code related to it around login.

On 13 lis, 04:12, Bin Chen <[email protected]> wrote:
> I am using Satchmo 9.2, and I have developed some code to login user
> using a twitter like website's oauth system. My code to create the
> user:
>
>         if user == None:
>         user = User.objects.create_user(username=uu,
>                 email=uu,
>                 password=password)
>         user.first_name = username
>         user.save()
>
> And I login user by:
>
> user = authenticate(username=uu, password=password)
> if user is not None:
>     if user.is_active:
>         login(request, user)
>         # Redirect to a success page.
>     else:
>         pass
>
> Everything works fine but if I use this auto-generated user to make
> the order, the order submit page just stuck. I don't know if I am
> missing something? Please suggest, thanks!!

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo 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/satchmo-users?hl=en.

Reply via email to