SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 75325082 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

add equality simple tag

parent 84c31aad
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,11 @@ def rstrip_minutes(text):
return text
@register.simple_tag
def equal(a, b):
return a == b
# Math
@register.filter
def int_divide(a, b):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment