Commits

Mikhail Korobov  committed 5dfd8ad

url positional argument is unuseful for AppList menu item

  • Participants
  • Parent commits e0ff729

Comments (0)

Files changed (1)

File admin_tools/menu/items.py

         displayed in the menu item.
     """
 
-    def __init__(self, title=None, url=None, **kwargs):
+    def __init__(self, title=None, **kwargs):
         """
         ``AppListMenuItem`` constructor.
         """
         self.exclude_list = kwargs.pop('exclude_list', [])
         self.models = list(kwargs.pop('models', []))
         self.exclude = list(kwargs.pop('exclude', []))
-        super(AppList, self).__init__(title, url, **kwargs)
+        super(AppList, self).__init__(title, **kwargs)
 
 
     def init_with_context(self, context):