dcramer/django-uuidfield — pull request #10 by pjdelport (2012-08-16 12:02:49+00:00)
Title: Import the psycopg2.extras module fully.

`import psycopg2` alone does not load the `extras` module: in cases where the latter was not previously loaded as a side effect of other code, the following `psycopg2.extras.register_uuid()` fails with an AttributeError, leading to other errors later due to the UUID type not being registered in psycopg2.

`import psycopg2.extras` fixes this.