Date fis
This commit is contained in:
+2
-2
@@ -153,10 +153,10 @@ def salary_demousers():
|
||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||
cursor.execute(SELECT_DEMO_ENTRY)
|
||||
select_demoS = cursor.fetchall()
|
||||
|
||||
# "last_update": datetime.datetime.utcnow(),#
|
||||
demo_data = json.dumps( [dict(ix) for ix in select_demoS] )
|
||||
result_demo_data = {
|
||||
"last_update": datetime.datetime.utcnow(),
|
||||
"last_update": "2010-01-01",
|
||||
"offers":products(),
|
||||
"list" : json.loads( demo_data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user