Monthly Archives: November 2011

Old django hack

Scenario: django 0.91 postgresql 9.1 psycopg1 bug when importing psycopg Fix: Edit django/core/db/backends/postgresql.py and import psycopg twice . try: .     import psycopg as Database . except AttributeError: .     import psycopg as Database

Posted in programming | Tagged | Leave a comment