Fixed #16005 -- Error in blocktrans docs -- thanks bezidejni
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ae3fec0da8
commit
df6e031408
|
@ -494,7 +494,7 @@ for use within the translation block. Examples::
|
||||||
If you need to bind more than one expression inside a ``blocktrans`` tag,
|
If you need to bind more than one expression inside a ``blocktrans`` tag,
|
||||||
separate the pieces with ``and``::
|
separate the pieces with ``and``::
|
||||||
|
|
||||||
{% blocktrans with book_t=book|title author_t=author|title %}
|
{% blocktrans with book_t=book|title and author_t=author|title %}
|
||||||
This is {{ book_t }} by {{ author_t }}
|
This is {{ book_t }} by {{ author_t }}
|
||||||
{% endblocktrans %}
|
{% endblocktrans %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue