Commits

Matthew Schinckel committed 7706907

Added comment about mod_python hack

Comments (0)

Files changed (1)

menus/templatetags/menu_item.py

             page_url = request.path
         
         user = request.user
-
+        
+        # This is a fairly nasty hack to get around how I have my mod_python (!!!)
+        # setup: which sets the SCRIPT_NAME.
         local['url'] = local['url'].replace(request.META.get('SCRIPT_NAME',''), '')
             
         view = resolve(local['url']).func