Working on products and carts

This commit is contained in:
Scott Idem
2021-08-02 17:25:48 -04:00
parent c639c2b0a0
commit ac21a67c8a
4 changed files with 114 additions and 42 deletions

View File

@@ -789,7 +789,7 @@ def lookup_id_random(record_id:int, table_name:str):
# Remove the unneeded *_id_random key from the dict
# This really needs to be simplified... Use a list of dicts instead. Can store as JSON in the DB.
def lookup_id_random_pop(obj_data:dict):
log.setLevel(logging.WARNING) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(locals())
if 'account_id_random' in obj_data: