summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2018-10-20 17:45:38 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2018-11-17 15:30:58 +0100
commitf6cd7de9d17bca895af94a2edd8da91be637ec68 (patch)
tree0ffba060b488a9fa5240773bb37a0dc66f4015db
parent59ebf217032ba9cb9f82039531a72950c9d85224 (diff)
downloadarchweb-f6cd7de9d17bca895af94a2edd8da91be637ec68.tar.gz
archweb-f6cd7de9d17bca895af94a2edd8da91be637ec68.zip
main: signature_exists assignment_tag() is deprecated
Update assignment_tag to simple_tag since the assignment_tag is deprecated.
-rw-r--r--main/templatetags/pgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py
index ad4e49d0..f8c99574 100644
--- a/main/templatetags/pgp.py
+++ b/main/templatetags/pgp.py
@@ -61,7 +61,7 @@ def pgp_fingerprint(key_id):
return mark_safe(format_key(conditional_escape(key_id)))
-@register.assignment_tag
+@register.simple_tag
def signature_exists(signatures, signer, signee):
if not signer or not signee:
return False