uncomment create user demo un initdatas
This commit is contained in:
parent
2c039c0a12
commit
77dd11ea23
|
@ -33,9 +33,9 @@ class InitDatas:
|
||||||
db.session.add(inv)
|
db.session.add(inv)
|
||||||
db.session.commit()
|
db.session.commit()
|
||||||
|
|
||||||
# if self.email:
|
if self.email:
|
||||||
# user = User(email=self.email, password=self.password)
|
user = User(email=self.email, password=self.password)
|
||||||
# user.individuals.add(Person(name=self.name))
|
user.individuals.add(Person(name=self.name))
|
||||||
# db.session.add(user)
|
db.session.add(user)
|
||||||
|
|
||||||
# db.session.commit()
|
db.session.commit()
|
||||||
|
|
Reference in New Issue