From django 1.4 hashcompat is deprecated, so we have to use hashlib inst...

From django 1.4 hashcompat is deprecated, so we have to use hashlib inst...