0

How to remove or silence 'attribute not allowed here' errors in Pycharm?

Using Windows Pycharm 2.7.

I'm trying to get rid of the annoying pycharm warnings. I attached a picture of a snippet of my code in pycharm.  For example, when I highlight 'tal:define' I get a "attribute tal:define is not allowed here" (as well as all the other 'red' outlined errors).  The 'light bulb' only gives me only a'remove attribute' option.

My friend is using the mac version of pycharm 2.7. He is able to disable the warnings somehow.  The 'light bulb' next to the error gives him other options than I have on the PC version of pycharm.  Is there something I'm doing wrong?  Suggestions?

The code works perfectly.  I'm just trying to get rid of the pycharm errors.

Capture.JPG

2 comments

Please sign in to leave a comment.