Ticket #14122: yesno_documentation.patch

File yesno_documentation.patch, 612 bytes (added by idahogray, 5 years ago)

Patch to the yesno filter documentation

  • docs/ref/templates/builtins.txt

     
    20452045Given a string mapping values for true, false and (optionally) None,
    20462046returns one of those strings according to the value:
    20472047
     2048For example::
     2049
     2050    {{ value|yesno:"yeah,no,maybe" }}
     2051
    20482052==========  ======================  ==================================
    20492053Value       Argument                Outputs
    20502054==========  ======================  ==================================
Back to Top