Exemplo n.º 1
0
def render():
    title = 'This is the Title'
    another_title = ' This is another title'
    lst = [1,2,3,4]
    my_dict = {'k' : 'v', 'x' : 'y' }
    resp = render_template('test_stack.html', 
                           Title=title, 
                           another_title=another_title, 
                           lst=lst, 
                           my_dict=my_dict)
    return resp
Exemplo n.º 2
0
def create_form():
    resp = render_template('test_form.html',
                           title='Hello!',
                           message='Enter Values')
    return resp
Exemplo n.º 3
0
def reading():
    template = render_template('test.txt')
    return template