Fixing reference to non-existant get_hexdigest

The `get_hexdigest` function was removed in Django 1.4. Django 1.5 is about to be released, so this is currently broken in two full releases of Django.

This pull request simply inlines the logic that the `get_hexdigest` function did -- invoke `hashlib.sha1`.