forked from nallen05/djula
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
Documentation filters: 'add' arguments #47
Comments
jeroenpeters1986
added a commit
to jeroenpeters1986/djula
that referenced
this issue
Sep 11, 2018
issue mmontone#47, change the documentation on taking arguments for the `add` filter
jeroenpeters1986
added a commit
to jeroenpeters1986/djula
that referenced
this issue
Sep 11, 2018
issue mmontone#47, change the documentation on taking arguments for the `add` filter
Yes. Some parts of the documentation is probably out of date. Thanks for the PR. |
You're welcome! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, it seems that the docs state that the filter add works like this:
{{ value|add "2" }}
It returns an
{# Error: Unknown filter ADD "2" #}
on my end.It does work in my project when I use it like this:
{{ value|add:2 }}
My guess is is that this is incorrect in the docs, is that right?
The text was updated successfully, but these errors were encountered: