diff options
| author | mjfernez <mjf@mjfer.net> | 2022-02-25 17:41:46 -0500 |
|---|---|---|
| committer | mjfernez <mjf@mjfer.net> | 2022-02-25 17:41:46 -0500 |
| commit | b7333699e61837793e128ae0628ac6b0b111e6dd (patch) | |
| tree | 827664136b1fc51d5eeb204e15b6a05447c71344 /views.py | |
| parent | dc98898dea798a1f2902a20aa340e0aa7aee48a9 (diff) | |
Merge server changes from branch master
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`. |
