When set *AUTH_PROFILE_MODULE* in *settings.py*, Cartridge should attempt retrieve existing profile data and fill matched fields in checkout form.
If not stored in a session or last order, it fetches them from User profile. And here are the troubles. By the cartridge.shop.checkout.initial_order_data <https://bitbucket.org/stephenmcd/cartridge/src/7f2f675935462f8ae2397a5ff33edf1647a96b68/cartridge/shop/checkout.py?at=default#checkout.py-119> function, it tries profile model and model from request, in that order, but they are in different unrelated types. *request.user* is of *SimpleLazyObject* and *get_profile_for_user* returns normal instance of *django.db.models.Model* descendant. But it latter case it never works, because *profile model fields are not callable* and the condition won't eval to true. Any idea what should custom AUTH_PROFILE_MODULE provide to work with checkout code ? -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
