From 47c5b50d346237f30584ad9303dea8f6933ffae3 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 24 Nov 2012 18:25:42 +0100 Subject: [1.5.x] Fixed #19354 -- Do not assume usermodel.pk == usermodel.id Thanks markteisman at hotmail.com for the report. Backport of 0eeae1505 from master. --- docs/ref/templates/builtins.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 2258ce9716..f8aedf79a0 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -611,7 +611,7 @@ Output the contents of the block if the two arguments equal each other. Example:: - {% ifequal user.id comment.user_id %} + {% ifequal user.pk comment.user_id %} ... {% endifequal %} -- cgit v1.3