diff options
author | Andrew Godwin | 2022-11-16 21:42:25 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 21:42:25 -0700 |
commit | 5b34ea46c3f458a174c5443714ade43c21defdac (patch) | |
tree | e41dda2218cee559268f99a802210f7507f47b02 /core | |
parent | 9d97fc92d82289301896c88f8c828321aa99701d (diff) | |
download | takahe-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.py | 1 |
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], } |