diff options
Diffstat (limited to 'views.py')
-rw-r--r-- | views.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6,7 +6,7 @@ import os from flask import send_from_directory, abort from flask import render_template, render_template_string, make_response from siteconfig import siteconfig -from server import app, cache +from server import app from view_functions import * # bit of a hack. @@ -20,7 +20,6 @@ CONTENT_BLOCK = ( @app.route("/") @app.route("/home.html") @app.route("/index.html") -@cache.cached() def home(): """ home - renders the template `home.html` as the main index file @@ -37,7 +36,6 @@ def home(): # from: https://pythonise.com/series/learning-flask/sending-files-with-flask @app.route("/<path:path>") -@cache.cached() def render_file(path): """ render_file - renders an HTML document for the given `path`. |