Commit 6d5cb42c authored by Daniele Venzano's avatar Daniele Venzano
Browse files

Automatically serialize dict objects to Postgresql JSON

parent 747a1f45
......@@ -17,6 +17,7 @@ import datetime
import psycopg2
import psycopg2.extras
psycopg2.extensions.register_adapter(dict, psycopg2.extras.Json)
class SQLManager:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment