Closed jpaav closed 6 years ago
Instead of displaying "None" when you haven't signed in and out a user, it should show something else. "None" is too confusing. Use the default if none template tag.
{{ item.somefield|default_if_none:"" }}
Instead of displaying "None" when you haven't signed in and out a user, it should show something else. "None" is too confusing. Use the default if none template tag.
{{ item.somefield|default_if_none:"" }}