Update models.py

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