Fixed #19354 -- Do not assume usermodel.pk == usermodel.id

Thanks markteisman at hotmail.com for the report.
This commit is contained in:
Claude Paroz 2012-11-24 18:25:42 +01:00
parent d913a8b412
commit 0eeae15056
9 changed files with 14 additions and 14 deletions

View file

@ -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 %}