Opened 14 years ago
Closed 14 years ago
#16005 closed Bug (fixed)
Missing and operator in blocktrans documentation
| Reported by: | bezidejni | Owned by: | bezidejni | 
|---|---|---|---|
| Component: | Documentation | Version: | 1.3 | 
| Severity: | Normal | Keywords: | blocktrans | 
| Cc: | hraban | Triage Stage: | Ready for checkin | 
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
The documentation says:
If you need to bind more than one expression inside a blocktrans tag, separate the pieces with and:
{% blocktrans with book_t=book|title author_t=author|title %} This is {{ book_t }} by {{ author_t }} {% endblocktrans %}
But as you can see, the and operator is missing between two expressions.
Attachments (1)
Change History (7)
by , 14 years ago
| Attachment: | blocktrans.diff added | 
|---|
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted | 
|---|
comment:2 by , 14 years ago
| Triage Stage: | Accepted → Ready for checkin | 
|---|
comment:3 by , 14 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
comment:5 by , 14 years ago
| Cc: | added | 
|---|---|
| Has patch: | unset | 
| Resolution: | fixed | 
| Status: | closed → reopened | 
| UI/UX: | unset | 
the currently distributed version of Django 1.3 doesn’t understand "and" in blocktrans any more, so the documentation has to be reverted to the previous state
comment:6 by , 14 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | reopened → closed | 
This has been fixed in #16072
  Note:
 See   TracTickets
 for help on using tickets.
    
In [16218]:
(The changeset message doesn't reference this ticket)