print to debug
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user