When should I use escape and safe in Django’s template system?
Actually, it depends. Django’s templating engine does escaping automatically, so you don’t really need to escape. If you add template filter “safe” like {{c.title|safe}} then you do need to worry about things like html injection, because “safe” marks the string as such and it means that it won’t be escaped. There is also an {% … Read more