django filter decode
Use decode template filter: Sample Use: {{variable|decode:"iso-8859-1"}}
- encoding
- decode
Use decode template filter: Sample Use: {{variable|decode:"iso-8859-1"}}
This is useful if you have a string that is html encoded (i.e. "<p>Hello world!</p>") and you want to do something more complex than just display it as html, such as using the striptags filter.
2 snippets posted so far.