Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{vars} that are 0 do not render #421

Closed
Autre31415 opened this issue Sep 29, 2020 · 0 comments · Fixed by #422
Closed

{vars} that are 0 do not render #421

Autre31415 opened this issue Sep 29, 2020 · 0 comments · Fixed by #422
Labels

Comments

@Autre31415
Copy link
Member

Given the model:

model.zero = 0

And the template:

<p>{zero}</p>

Will result in:

<p>{zero}</p>

And not:

<p>0</p>
@Autre31415 Autre31415 added the bug label Sep 29, 2020
kethinov added a commit to kethinov/teddy that referenced this issue Sep 29, 2020
@kethinov kethinov mentioned this issue Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

1 participant