X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/e634bbdbebc6313daad35ad6b700d2c723a7eaa9..2d5a803e2b8bd6ed72de946d4cfbb7b880493bf6:/sommitrealweird/bpcms/context_processors.py?ds=inline diff --git a/sommitrealweird/bpcms/context_processors.py b/sommitrealweird/bpcms/context_processors.py index 0edc30a..3668ab0 100644 --- a/sommitrealweird/bpcms/context_processors.py +++ b/sommitrealweird/bpcms/context_processors.py @@ -94,6 +94,8 @@ def content_submenu(request): menu_items.sort( \ cmp=lambda x,y: cmp(x['title'].lower(), y['title'].lower())) + cache.set('bpcms_contentmenu_%s' %(folderpath), menu_items) + return { 'content_submenu': menu_items, }