Django - Security Best Practices
Which of the following is the correct way to mark a variable as safe (not escaped) in a Django template?
safe filter tells Django not to escape the variable, rendering HTML as-is.escape escapes content, strip and clean are not standard Django filters for safety.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions