Update admin_interface_tags.py (#168)

This commit is contained in:
Jon
2022-08-03 14:07:08 -04:00
committed by GitHub
parent 3156882cba
commit 003b0f9892
@@ -80,9 +80,9 @@ def get_admin_interface_version():
def hash_string(text):
hash_object = hashlib.md5(text.encode())
md5_hash = hash_object.hexdigest()
return md5_hash
hash_object = hashlib.sha224(text.encode())
sha224_hash = hash_object.hexdigest()
return sha224_hash
@simple_tag(takes_context=False)