i'm working on small project helpful display trivial web pages. it's being developed in pycharm, pro edition.
this existing project, wasn't created flask app begin with.
i've added flask requirements.txt , ensured installed. however, don't autocompletion of jinja templates - essentially, html file created treated dumb html.
how pycharm recognize i'm using flask , act accordingly?
you have tell pycharm folders contain templates.
- go
settings/project: name/project structure
- click on folder containing templates , click purple
templates
button.
it warn no template language specified. if case
- go
settings/language & frameworks/python template languages
- in combobox
template language:
select template language (jinja?) - under
template file types
select file type (probably html)
Comments
Post a Comment