1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-29 08:27:55 +00:00
seahub/organizations/context_processors.py

13 lines
359 B
Python
Raw Normal View History

# from seahub.utils import get_cur_ctx
# def org(request):
# """
# Add org info and base template that html page will extends to context.
# """
# ctx_dict = get_cur_ctx(request)
# base_template = ctx_dict['base_template']
# org_dict = ctx_dict['org_dict']
# return {'base_template': base_template,
# 'org': org_dict}