Celery 3.1 now supports Django out of the box, please see the new tutorial

Compatibility - djcelery.compat

djcelery.compat.itervalues(x)
djcelery.compat.python_2_unicode_compatible(cls)

Taken from Django project (django/utils/encoding.py) & modified a bit to always have __unicode__ method available.

djcelery.compat.setenv(k, v)