Commits

David Jean Louis committed b964214

Fixed missing context argument in get_admin_menu() calls

  • Participants
  • Parent commits a3c838a

Comments (0)

Files changed (1)

File admin_tools/menu/templatetags/admin_tools_menu_tags.py

     ``get_admin_menu`` function.
     """
     if menu is None:
-        menu = get_admin_menu()
+        menu = get_admin_menu(context)
 
     menu.init_with_context(context)
     has_bookmark_item = False
     retrieved with the ``get_admin_menu`` function.
     """
     if menu is None:
-        menu = get_admin_menu()
+        menu = get_admin_menu(context)
 
     context.update({
         'template': 'admin_tools/menu/css.html',