aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2022-02-25 17:41:46 -0500
committermjfernez <mjf@mjfer.net>2022-02-25 17:41:46 -0500
commitb7333699e61837793e128ae0628ac6b0b111e6dd (patch)
tree827664136b1fc51d5eeb204e15b6a05447c71344 /server.py
parentdc98898dea798a1f2902a20aa340e0aa7aee48a9 (diff)
downloadezcms-b7333699e61837793e128ae0628ac6b0b111e6dd.tar.gz
Merge server changes from branch master
Diffstat (limited to 'server.py')
-rw-r--r--server.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/server.py b/server.py
index ab66ccc..f3892c0 100644
--- a/server.py
+++ b/server.py
@@ -4,12 +4,10 @@ server.py - sets up and runs the flask server
from flask import Flask
from siteconfig import siteconfig
from flask_compress import Compress
-from flask_caching import Cache
-from rss_generator import RSS_Item, get_rss_channel
+from rss_generator import get_rss_channel
app = Flask(__name__)
compress = Compress()
-cache = Cache(config=siteconfig.cache_config)
from views import *
@@ -33,6 +31,5 @@ def setup():
# Setup needs to come first to be compatible with wsgi
setup()
compress.init_app(app)
-cache.init_app(app)
if __name__ == "__main__":
app.run()