From 41c82294e555069cef430d0931eb7aeac50b6a26 Mon Sep 17 00:00:00 2001
From: cellarspoon
Date: Wed, 12 Jan 2022 09:03:16 +0100
Subject: [PATCH] disable half-baked resource map for now
---
members_lumbung_space/main.py | 3 ---
members_lumbung_space/templates/admin.html | 13 -------------
2 files changed, 16 deletions(-)
diff --git a/members_lumbung_space/main.py b/members_lumbung_space/main.py
index 9ea7c08..55c31a2 100644
--- a/members_lumbung_space/main.py
+++ b/members_lumbung_space/main.py
@@ -52,9 +52,6 @@ async def startup_event():
await init_redis(app)
log.info("Initialised redis connection")
- await init_resource_map(app)
- log.info("Initialised the resource map")
-
@app.on_event("shutdown")
async def shutdown_event():
diff --git a/members_lumbung_space/templates/admin.html b/members_lumbung_space/templates/admin.html
index 67d6d48..15c9b99 100644
--- a/members_lumbung_space/templates/admin.html
+++ b/members_lumbung_space/templates/admin.html
@@ -46,17 +46,4 @@
-
-
Resource map
-
-
- Regenerate
-
-
-
(PS. i have no idea how to render this)
-
-
{{ resource_map }}
-
-
-
{% endblock %}