aboutsummaryrefslogtreecommitdiffstats
path: root/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'views.py')
-rw-r--r--views.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/views.py b/views.py
index 7b12e35..d69ac51 100644
--- a/views.py
+++ b/views.py
@@ -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`.