Suppress errors not working in django templates?


I have custom template tag that will concatenate strings but pycharm is give me error "Expected %}" when use it. So I was trying suppress error but pycharm did nothing.


<a href="{% url 'first'|addstr:'second' %}></a>

error is before | and looks like it's only with url code. If I use with as, then I don't have this error but get other about missing quotes in url. And this error cannot be suppressed as well.

To suppress error I was trying to use inspect code but when I chose error and "suppress for file" nothing happen. It's not big problem but very irritating.

1 comment
Comment actions Permalink

Thank you, I can reproduce the issue, and submitted an issue:

Please follow the issue to be notified about the updates. If you're unfamiliar with YouTrack, please see


Please sign in to leave a comment.