Permalink
5e5e992 Sep 25, 2014
1 contributor

Users who have contributed to this file

11 lines (8 sloc) 298 Bytes
from project import db
from project.models import User
# insert data
db.session.add(User("michael", "michael@realpython.com", "i'll-never-tell"))
db.session.add(User("admin", "ad@min.com", "admin"))
db.session.add(User("mike", "mike@herman.com", "tell"))
# commit the changes
db.session.commit()