SyntaxFix
Write A Post
Hire A Developer
Questions
To avoid throw a exception while "p" or "p.User" is None, you can use:
{{ (p and p.User and p.User['first_name']) or "default_value" }}