예제 #1
0
파일: views.py 프로젝트: driftbee/DBdev
def index():
    return render_template('index.html', new_bookmarks=Bookmark.newest(5))
def index():
    return render_template("index.html", new_bookmarks=Bookmark.newest(5))
예제 #3
0
def index():
    return render_template('index.html',
                           title="Title passed from view to template",
                           new_bookmarks=Bookmark.newest(5))
예제 #4
0
def return_200():
    bookmarks = Bookmark.newest(5)
    print_request_info()
    content = render_template('index.html', bookmarks=bookmarks)
    #application.logger.debug('content:' + content)
    return make_response(content, 200)
예제 #5
0
def index():
    return render_template('index.html', title="Course Experience", new_bookmarks=Bookmark.newest(5))
예제 #6
0
def index():
    return render_template('index.html', title="Title passed from view to template", new_bookmarks=Bookmark.newest(5))