Use hashlib instead of django.utils.hashcompat(deprecated in django 1.5)