| 94 | | Some filters take arguments. A filter argument looks like this: |
|---|
| 95 | | ``{{ bio|truncatewords:"30" }}``. This will display the first 30 words of the |
|---|
| 96 | | ``bio`` variable. Filter arguments always are in double quotes. |
|---|
| | 94 | Some filters take arguments. A filter argument looks like this: ``{{ |
|---|
| | 95 | bio|truncatewords:30 }}``. This will display the first 30 words of the ``bio`` |
|---|
| | 96 | variable. |
|---|
| | 97 | |
|---|
| | 98 | Filter arguments that contain spaces must be quoted; for example, to join a list |
|---|
| | 99 | with commas and spaced you'd use ``{{ list|join:", " }}``. |
|---|