haldis/app/database/add_admins.py
2015-05-13 13:34:32 +02:00

17 lines
No EOL
361 B
Python

from app import db
from models import User
def add():
feli = User()
feli.configure("feliciaan", True, 0)
db.session.add(feli)
destro = User()
destro.configure('destro', True, 0)
db.session.add(destro)
iepoev = User()
iepoev.configure('iepoev', True, 1)
db.session.add(iepoev)
# To future developers, add yourself here