Replace deprecated django.utils.hashcompat with Python hashlib

Signed-off-by: Jonathan Prior <jjprior@736cs.com>