Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/d/j/django-lfs-0.7.7/lfs/customer/utils.py   django-lfs(Download)
    customer.selected_invoice_address = Address.objects.create(customer=customer, country=shop.default_country)
    customer.selected_shipping_address = Address.objects.create(customer=customer, country=shop.default_country)
    customer.save()
    return customer
 

src/d/j/django-lfs-HEAD/lfs/customer/utils.py   django-lfs(Download)
    customer.selected_invoice_address = address_model.objects.create(customer=customer, country=shop.default_country)
    customer.selected_shipping_address = address_model.objects.create(customer=customer, country=shop.default_country)
    customer.save()
 
    customer.default_invoice_address.customer = customer

src/l/f/lfs-HEAD/customer/utils.py   lfs(Download)
        customer.user = request.user
 
    customer.save()
    return customer