Setup a basic flask-admin interface

This commit is contained in:
Pierre Jaury
2016-02-20 13:57:26 +01:00
parent 9df197f412
commit a5ffcfdc90
13 changed files with 104 additions and 4 deletions

7
admin/testdb.py Normal file
View File

@@ -0,0 +1,7 @@
from freeposte import db, models
if __name__ == "__main__":
db.drop_all()
db.create_all()
db.session.commit()