Add RSS feed at /rss/ #11
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ def update(id):
|
||||||
(title, body, created, id)
|
(title, body, created, id)
|
||||||
)
|
)
|
||||||
db.commit()
|
db.commit()
|
||||||
|
generate_feed(db)
|
||||||
return redirect(url_for('blog.index'))
|
return redirect(url_for('blog.index'))
|
||||||
|
|
||||||
return render_template('blog/update.html', post=post)
|
return render_template('blog/update.html', post=post)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue