Open thomasEkla opened 6 years ago
The Flask API changed since the docs were written. Change from flask.ext.mako import MakoTemplates
to from flask_mako import MakoTemplates
. Though this project seems to be dead. :-\
FYI This is fixed in https://github.com/benselme/flask-mako/pull/21/commits/a5ec694b6974d1aa197ff5e773112ed12bcfbfdc
I vote to fork! :fork_and_knife:
Hello, I have some Mako issues with Flask. When I launch my 'run' I have this error :" ImportError: No module named 'flask.ext' " This is my app and 3 .py file to run it :
the init.py file should init app =
this is the init for Views.py, this should run templates =
this is a simple Mako template hello.html =
Thanks for your help. I hope some people can help me.