@receiver(user_logged_out)
def handle_customer_logout(sender, **kwargs):
 kwargs[u'request'].customer = SimpleLazyObject((lambda : CustomerModel.objects.get_from_request(kwargs[u'request'])))

@ receiver ( user_logged_out ) def handle_customer_logout ( sender , ** kwargs ) : kwargs [ u'request' ] . customer = SimpleLazyObject ( ( lambda : CustomerModel . objects . get_from_request ( kwargs [ u'request' ] ) ) )
update request .