Loading request...
Freezegun works for inserting data with psycopg2 but returns unfrozen datetime objects when selecting. The user suggests adding special adapters similar to those for pymysql and sqlite to properly freeze datetime objects from psycopg2.
It works for insert, but when selecting it returns vanilla datetime objects instead of frozen ones. I saw there's special adapters for pymsql and sqlite, perhaps something similar could be done for psycopg as well?