-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Not sure if only I had this problem.
For Flask 0.9 (for the two ways):
from flaskext.markdown import Markdown
from flask.ext.markdown import Markdown
the result is:
ImportError: No module named flaskext.markdown
ImportError: No module named flask.ext.markdown
I solved it with this:
- in 'site-packages' create a folder 'flask_markdown'
- in folder 'flaskext' copy 'markdown.py' and 'markdown.pyc' and paste in the folder 'flask_markdown'
- rename both files as 'init.py' and 'init.pyc'
- restart uwsgi
- Use 'from flask.ext.markdown import Markdown'
- ok!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels