django/django — pull request #593 by henrietta (2012-12-16 16:35:33+00:00)
Title: Fixed ticket #13161

Previously, Django would register UNICODE extensions for psycopg2 at global scope, causing all other Python applications running under the same interpreter to be fed Unicode objects instead of expected strings. This would break those applications.
Now Django will register UNICODE only on per-cursor basic, so other applications will be unaffected.