removed features.seed-db
This commit is contained in:
1
app.py
1
app.py
@@ -16,6 +16,5 @@ db.init_app(app)
|
|||||||
@app.route('/')
|
@app.route('/')
|
||||||
def index():
|
def index():
|
||||||
with app.app_context():
|
with app.app_context():
|
||||||
Feature.seed_db()
|
|
||||||
features = Feature.query.all()
|
features = Feature.query.all()
|
||||||
return render_template('index.html', features=features)
|
return render_template('index.html', features=features)
|
||||||
|
|||||||
Reference in New Issue
Block a user