Legal Django cms template code is being flagged red. Permanently deleted user Created April 05, 2016 19:14 The red flagged code in the pic below is legal in DJango CMS templates, so how do I get PyCharm to accept the code, as is?
Please, attach screenshot with Settings| Languages&Frameworks| Python Template Languages. Thank you.
Happy to do so. I belive I'm using Jinja2 in the template.
Please, select Django as template language. What changes do you have in Editor window after it?
That did the trick. So even though Django cms uses jinja2, I should use django's base template. Thank you for your time!
Please feel free to ask any questions.