Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wow, okay, so it helps if I don't name functions the same as built-ins.

  • Loading branch information...
commit 4ea0a6e6574580c1212b028a134702c1072bea2c 1 parent 87e5989
@nathanborror authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 basic/tools/templatetags/mathutils.py
View
4 basic/tools/templatetags/mathutils.py
@@ -4,7 +4,7 @@
@register.filter
-def min(object_list, field):
+def min_value(object_list, field):
"""
Returns the min value given an object_list and a field.
@@ -16,7 +16,7 @@ def min(object_list, field):
@register.filter
-def max(object_list, field):
+def max_value(object_list, field):
"""
Returns the max value given an object_list and a field.
Please sign in to comment.
Something went wrong with that request. Please try again.