Xof/django-pglocks — pull request #9 by tchaumeny (2014-10-23 19:59:36+00:00)
Title: Python3 compatibility

This pull request makes django-pglocks compatible with Python 3 (tested with Python 3.3 + Django 1.7).

Note that `__hash__()` should not be used to construct the lock id as it is randomized in Python 3 (see https://docs.python.org/3/reference/datamodel.html#object.__hash__).