def get_menu(request): current_url = request.path.replace(reverse('admin:index'), "").lower() c = Context({ "apps": load_apps(request), "custom": False, }) t = get_template('admin/side_menu.html') return t.render(c)
def get_menu(self, request): current_url = request.path.replace(reverse('admin:index'), "").lower() c = Context({"apps": load_apps(request)}) t = get_template('plugins/app_menu.html') return t.render(c)
def get_menu(request): current_url = request.path.replace(reverse('admin:index'), "").lower() c = Context({"apps": load_apps(request), "custom": False, }) t = get_template('admin/side_menu.html') return t.render(c)