diff options
Diffstat (limited to 'db_create.py')
-rwxr-xr-x | db_create.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db_create.py b/db_create.py index f92108b6..03bbb7f0 100755 --- a/db_create.py +++ b/db_create.py @@ -8,6 +8,8 @@ __revision__ = "$Date: 2014/04/12 $" __copyright__ = "Copyright (c) Cedric Bonhomme" __license__ = "AGPLv3" +import bootstrap + from pyaggr3g470r import db from pyaggr3g470r.models import User, Role from werkzeug import generate_password_hash @@ -74,4 +76,4 @@ user1 = User(nickname="admin", user1.roles.extend([role_admin, role_user]) db.session.add(user1) -db.session.commit()
\ No newline at end of file +db.session.commit() |