Pycharm, Javascript and Ajax Variables — Snakey Code


Here’s the problem. You make an AJAX call the returns a Javascript object. Since Pycharm does not know anything about that object, it kicks up a bunch of “Unresolved variable” warnings. Too many to handle with “Suppress for statement”. Too dangerous to use “Suppress for file”. Here’s how to handle it:

via Pycharm, Javascript and Ajax Variables — Snakey Code

Advertisements