Browse Source

Merge remote-tracking branch 'github/dev' into dev

pull/1922/head
ibuler 6 years ago
parent
commit
abc56016f2
  1. 5
      apps/common/templatetags/common_tags.py

5
apps/common/templatetags/common_tags.py

@ -106,3 +106,8 @@ def to_dict(data):
def sort(data):
print(data)
return sorted(data)
@register.filter
def subtract(value, arg):
return value - arg

Loading…
Cancel
Save