I want to see if a field/variable is none within a Django template. What is the correct syntax for that?
This is what I currently have:
{% if profile
You can also use another built-in template default_if_none
default_if_none
{{ profile.user.first_name|default_if_none:"--" }}