summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2012-11-24 18:25:42 +0100
committerClaude Paroz <claude@2xlibre.net>2012-11-29 21:52:22 +0100
commit47c5b50d346237f30584ad9303dea8f6933ffae3 (patch)
tree265cf634bb0e06a3d98c3c6903ec4c47ade4952e /docs/ref
parent83df1f3b571667f3d625c95af745c6ff687ef78e (diff)
[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.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/templates/builtins.txt2
1 files changed, 1 insertions, 1 deletions
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 %}