Thomas, are you sure that you can edit your user profile without
creating a new contact everytime you edit anything? I'm afraid that
the fix can create a new issue.
In general:
Preserving the cart is a contrary against clean registration and if
you write a fix you should think of both.
I think that the right solution (if anyone has time) is:
1) Upgrade Satchmo for using the new class based django-registration.
2) Customize creating of new account so that:
- if a user is logged, new session is started (in order to not mix
contacts, carts etc.)
- if no user is logged, continue with the same session (in order to
preserve cart etc.)
3) look at threadlocals caching and clear session related things if a
new session is started.
Upgrading django-registration is more effective, otherwise a fix for
the old one must be soon rewritten again.
Maybe the point 1) will be sufficient.
--Hynek