Skip to content

Commit

Permalink
Merge pull request Bilgecrank#86 from Bilgecrank/development
Browse files Browse the repository at this point in the history
Fixing issue caused by removing test_data.py
  • Loading branch information
Bilgecrank authored Mar 4, 2024
2 parents d9d7055 + 2eef6b5 commit 7af90ef
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"""

from app.hindsite import create_app
from app.hindsite.extensions import db

app = create_app()

# pylint: disable=wrong-import-position
from app.test_data import populate_database
# pylint: enable=wrong-import-position

populate_database(app)
with app.app_context():
db.create_all()

0 comments on commit 7af90ef

Please sign in to comment.