Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(2)  |  Import(1)

src/d/j/django-wpadmin-HEAD/test_project/test_project/wp.py   django-wpadmin(Download)
from wpadmin.utils import get_admin_site_name
from wpadmin.menu import items
from wpadmin.menu.menus import Menu
 
 
class UserTopMenu(Menu):
class UserLeftMenu(Menu):
 
    def is_user_allowed(self, user):
        """
        Only users that are in 'users' group are allowed to see this menu.