Update admin_interface_tags.py (#168)
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue