From dc8f95b639f9ebe65d2188cb3e4f04f9fd68e384 Mon Sep 17 00:00:00 2001 From: evildmp Date: Fri, 20 Sep 2013 23:21:49 +0100 Subject: Fixed #20877 -- added a performance optimization guide --- docs/ref/utils.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 59a501cf82..1e1ea4467c 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -495,8 +495,8 @@ Atom1Feed For cases like this, use the ``django.utils.functional.allow_lazy()`` decorator. It modifies the function so that *if* it's called with a lazy - translation as the first argument, the function evaluation is delayed until it - needs to be converted to a string. + translation as one of its arguments, the function evaluation is delayed + until it needs to be converted to a string. For example:: -- cgit v1.3