Permalink
Browse files

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

  • Loading branch information...
1 parent 87e5989 commit 4ea0a6e6574580c1212b028a134702c1072bea2c @nathanborror committed Aug 17, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 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.

0 comments on commit 4ea0a6e

Please sign in to comment.