예제 #1
0
파일: views.py 프로젝트: sysofwan/zapfeeds
def main():
    return render_template("main.html", all_tags=Tag.get_all_tags())
예제 #2
0
파일: views.py 프로젝트: sysofwan/zapfeeds
def main():
    return render_template("main.html", all_tags=Tag.get_all_tags())
예제 #3
0
파일: rest.py 프로젝트: sysofwan/zapfeeds
def get_all_tags():
    tags = [tag.tag_string for tag in Tag.get_all_tags()]
    return jsonify({"results": tags})
예제 #4
0
def get_all_tags():
    tags = [tag.tag_string for tag in Tag.get_all_tags()]
    return jsonify({'results': tags})