Example #1
0
from charlotte import app, feed
with app.app_context():
    feed.update_feeds()
Example #2
0
def do_update_feeds():
	if request.method == 'GET':
		return render_template('update.html')
	elif request.method == 'POST':
		update_feeds()
		return 'ok'
Example #3
0
from charlotte import app, feed
with app.app_context():
	feed.update_feeds()
Example #4
0
def do_update_feeds():
    if request.method == 'GET':
        return render_template('update.html')
    elif request.method == 'POST':
        update_feeds()
        return 'ok'