You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/apps/orgs/context_processor.py

13 lines
193 B

# -*- coding: utf-8 -*-
#
from .utils import get_org_from_request
def org_processor(request):
context = {
'CURRENT_ORG': get_org_from_request(request),
}
return context