def display_config(): print "Managing" rss_sources = dh.get_rss_sources() rss_sources = enumerate(rss_sources) return render_template("manage.html", Rss_sources=rss_sources)
def hello_world(): sources = dh.get_rss_sources() feed = rh.get_rss_feed(sources) # template = render_template('index.html', Sources=sources) return render_template("index.html", Feed=feed)