summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/utils/functional.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/utils/functional.py b/django/utils/functional.py
index b78706e073..0bc641cb21 100644
--- a/django/utils/functional.py
+++ b/django/utils/functional.py
@@ -163,6 +163,9 @@ def lazy(func, *resultclasses):
def __mod__(self, other):
return self.__cast() % other
+ def __mul__(self, other):
+ return self.__cast() * other
+
# Add wrappers for all methods from resultclasses which haven't been
# wrapped explicitly above.
for resultclass in resultclasses: