Bug fix for special characters in GET params because of % symbol
This commit is contained in:
@@ -19,6 +19,8 @@ def create_order_cart_line_obj(order_cart_line_obj_new:Order_Cart_Line_Base):
|
||||
if not order_cart_line_obj_new:
|
||||
return False
|
||||
|
||||
# Something needs to be added to lookup the current product information and copy that into the order_cart_line. Also knowing this will eventually be order_line.
|
||||
|
||||
order_cart_line_obj_data = order_cart_line_obj_new.dict(by_alias=False, exclude_defaults=False, exclude_unset=True, exclude={'user', 'created_on', 'updated_on'})
|
||||
|
||||
if order_cart_line_obj_in_result := sql_insert(data=order_cart_line_obj_data, table_name='order_cart_line', rm_id_random=True, id_random_length=8): pass
|
||||
|
||||
Reference in New Issue
Block a user