Computer scienceBackendDjangoTemplates

Template filters

The default value

Report a typo

What content will the div element have if we pass the variable advice with the value None to it?

<div>{{ advice|default:"Take a break!" }}</div>
Select one option from the list
___

Create a free account to access the full topic