Fixed syntax error on import and in config example file
This commit is contained in:
parent
4054d0041b
commit
a13ca0a81b
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
MYSQL_USER = 'user'
|
||||
MYSQL_PASSWORD = 'password'
|
||||
MYSQL_HOST 'localhost'
|
||||
MYSQL_HOST = 'localhost'
|
||||
MYSQL_DB = 'database'
|
||||
DEBUG = True
|
||||
SECRET_KEY = 'development key'
|
||||
|
|
|
@ -4,7 +4,7 @@ from flask.ext.mysqldb import MySQL
|
|||
import hashlib
|
||||
from flask_debugtoolbar import DebugToolbarExtension
|
||||
from admin import admin
|
||||
from flaskext.mail import Mail, Message
|
||||
from flask.ext.mail import Mail, Message
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_pyfile('config.py')
|
||||
|
|
Loading…
Reference in a new issue