Ejemplo n.º 1
0
def info():
    return app.send_static_file('info.html')
Ejemplo n.º 2
0
def index():
    return app.send_static_file('index.html')
Ejemplo n.º 3
0
def index():
    return app.send_static_file('index.html')
Ejemplo n.º 4
0
def index():
    # model = ProjectsModel()
    return app.send_static_file('index.html')
Ejemplo n.º 5
0
def send_text_file(file_name):
    full_file_name = file_name + '.txt'
    return app.send_static_file(full_file_name)
Ejemplo n.º 6
0
def send_static_file(filename):
    path = 'images/' + filename
    return app.send_static_file(path)
Ejemplo n.º 7
0
def send_album_pict(album_title, filename):
    path = 'uploads/pict/' + album_title + '/' + filename
    return app.send_static_file(path)
Ejemplo n.º 8
0
def send_album_thumbs(album_title, filename):
    path = 'uploads/thumb/' + album_title + '/' + filename
    return app.send_static_file(path)