summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-16 21:42:25 -0700
committerAndrew Godwin2022-11-16 21:42:25 -0700
commit5b34ea46c3f458a174c5443714ade43c21defdac (patch)
treee41dda2218cee559268f99a802210f7507f47b02 /core
parent9d97fc92d82289301896c88f8c828321aa99701d (diff)
downloadtakahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.gz
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.bz2
takahe-5b34ea46c3f458a174c5443714ade43c21defdac.zip
Call it admin rather than system settings
Diffstat (limited to 'core')
-rw-r--r--core/context.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/context.py b/core/context.py
index 4346cbb..a4aabf5 100644
--- a/core/context.py
+++ b/core/context.py
@@ -7,4 +7,5 @@ def config_context(request):
"config_identity": (
Config.load_identity(request.identity) if request.identity else None
),
+ "top_section": request.path.strip("/").split("/")[0],
}