Update admin_interface_tags.py (#168)

my-merge-progressivo1
Jon 2022-08-03 14:07:08 -04:00 committed by GitHub
parent 3156882cba
commit 003b0f9892
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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)