#NEWLINE# def populate_from_cart( self , cart , request ) : #NEWLINE# #INDENT# self . shipping_address_text = cart . shipping_address . as_text ( ) #NEWLINE# self . billing_address_text = ( cart . billing_address . as_text ( ) if cart . billing_address else self . shipping_address_text ) #NEWLINE# super ( Order , self ) . populate_from_cart ( cart , request )