-
Notifications
You must be signed in to change notification settings - Fork 509
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in App.py flask call #1
Comments
Hi. We choose the Docker option to the lab. But in this option appear one error at time of:
The error its cause for unset LOCALE env's To fix this error we just add an: sudo apt-get install language-pack-XXX (in our case is sudo apt-get install language-pack-en) And with this add, the rest of your instruccion work very well Best regards |
These steps does not work when I executed the steps provided in the udemy course and my application is not browsing |
Please try sample repository at https://github.com/openshift/django-ex.git |
Can you explain step by step what do we need to do? |
please note that updated repository for this application with flask module is at https://github.com/mmumshad/simple-webapp-flask.git. you just need to clone this. if you are using Openshift, Select your project and browse catalog. Click Next and Give the project name and copy this link in Git Repository Field. |
Change
from flask.ext.mysql import MySQL
to
from flaskext.mysql import MySQL
The text was updated successfully, but these errors were encountered: