X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/acedb5e82f30e6502e2801db9f8d64d879f44347..ade662a8e015bcecdc58512f915e4f56d16a56ed:/sommitrealweird/bpcms/context_processors.py?ds=inline diff --git a/sommitrealweird/bpcms/context_processors.py b/sommitrealweird/bpcms/context_processors.py index c235c9b..bf0b8f2 100644 --- a/sommitrealweird/bpcms/context_processors.py +++ b/sommitrealweird/bpcms/context_processors.py @@ -88,7 +88,7 @@ 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) + cache.set('bpcms_contentmenu_%s' %("/".join(folderpath)), menu_items) return { 'content_submenu': menu_items,