Actually bind flask-admin to the mail servers

This commit is contained in:
Pierre Jaury
2016-02-20 20:11:59 +01:00
parent 61c99c7014
commit 48fbf737ce
13 changed files with 98 additions and 27 deletions

View File

@@ -1,4 +1,9 @@
from freeposte import app
from freeposte import app, db
# Initialize the database if required (first launch)
db.create_all()
db.session.commit()
if __name__ == '__main__':