Celery 3.1 now supports Django out of the box, please see the new tutorial
djcelery.compat.
itervalues
python_2_unicode_compatible
Taken from Django project (django/utils/encoding.py) & modified a bit to always have __unicode__ method available.
setenv
Utilities - djcelery.utils
Change history