forked from Github-Mirrors/canaille
fix: demo app backend installation
This commit is contained in:
parent
d205ed40a3
commit
5689ba4db4
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ def populate(app):
|
|||
from canaille.core.populate import fake_users
|
||||
|
||||
with app.app_context():
|
||||
app.backend.install(app.config)
|
||||
with app.backend.session():
|
||||
if models.User.query():
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue