gintas/django-picklefield — pull request #7 by rafales (2012-12-04 20:20:52+00:00)
Title: Python 3 support

Added python 3 support.

Tested with django 1.1, 1.2, 1.3, 1.4, 1.5, using python 2.5, 2.6, 2.7, 3.3.

Note: I had to do some nasty hack in order to support django < 1.3 - here's commit that fixed those problems in django 1.3: https://github.com/django/django/commit/222c73261650201f5ce99e8dd4b1ce0d30a69eb4

And here is the hack: https://github.com/rafales/django-picklefield/blob/fe74ffb96d596fb6f63acff0077b9d5ec1fddf3b/src/picklefield/fields.py#L70 (and __metaclass_ line).