print to debug

This commit is contained in:
CHIEFSOFT\ameye
2025-01-11 14:37:16 -05:00
parent 432db293f7
commit 6a285ee2d8
+3 -2
View File
@@ -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,