From 6a285ee2d8a2d9fc7a85ae7bc0d51082763a72ca Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 11 Jan 2025 14:37:16 -0500 Subject: [PATCH] print to debug --- services/web/project/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/web/project/__init__.py b/services/web/project/__init__.py index 3a0fcf6..b309ec4 100644 --- a/services/web/project/__init__.py +++ b/services/web/project/__init__.py @@ -652,11 +652,12 @@ def recent_actions(current_user): with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor: cursor.execute(RECENT_ACTIONS) recent_actions = cursor.fetchall() + print(recent_actions) actionJS = json.dumps( [dict(ix) for ix in recent_actions] ) - #print(productJS) - #print(productJS) + print(actionJS) array3 = json.loads(actionJS) + print(array3) action_data = { "recent_actions" : recent_actions,