summaryrefslogtreecommitdiff
path: root/docs
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:45:43 +0100
commit0eeae15056edf07f786d3be5b47c14ab62eacd31 (patch)
treea89c50708cee38e3c0d7f15d11c782b7c557f5b8 /docs
parentd913a8b41281c506451156bdebc9a1851cb49fae (diff)
downloaddjango-0eeae15056edf07f786d3be5b47c14ab62eacd31.tar.gz
Fixed #19354 -- Do not assume usermodel.pk == usermodel.id
Thanks markteisman at hotmail.com for the report.
Diffstat (limited to 'docs')
-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 dc79b3a7d0..57ef0cfb27 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -618,7 +618,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 %}