Use hashlib instead of django.utils.hashcompat which is deprecated in Django 1.5