Changes between Version 1 and Version 2 of Ticket #33590


Ignore:
Timestamp:
Mar 20, 2022, 7:11:55 PM (3 years ago)
Author:
Stefan de Konink
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33590 – Description

    v1 v2  
    7878(datetime.datetime(2022, 3, 21, 1, 0), 1, 0)
    7979}}}
     80
     81
     82In addition psycopg2 versus the Django connection;
     83
     84{{{
     85>>> c = connection.cursor()
     86>>> c.execute('SELECT * FROM blxadmin_nextschedule where id = 1647824400')
     87>>> c.fetchone()
     88(1647824400.0, datetime.datetime(2022, 3, 21, 1, 0), 1, None)
     89
     90
     91>>> c = psycopg2.connect('user=blxa dbname=blxa port=5432 host=127.0.0.1')
     92>>> cur = c.cursor()
     93>>> cur.execute('SELECT * FROM blxadmin_nextschedule where id = 1647824400')
     94>>> cur.fetchone()
     95(1647824400.0, datetime.datetime(2022, 3, 21, 1, 0), 1, 1)
     96}}}
Back to Top