Fix deprecation warnings with Django 1.5

django/utils/hashcompat.py:9: 
DeprecationWarning: django.utils.hashcompat is deprecated; use hashlib instead