diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2018-10-20 17:45:38 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2018-11-17 15:30:58 +0100 |
commit | f6cd7de9d17bca895af94a2edd8da91be637ec68 (patch) | |
tree | 0ffba060b488a9fa5240773bb37a0dc66f4015db | |
parent | 59ebf217032ba9cb9f82039531a72950c9d85224 (diff) | |
download | archweb-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.py | 2 |
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 |