Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/d/j/django-wpadmin-1.6.1/wpadmin/menu/utils.py   django-wpadmin(Download)
from django.core.urlresolvers import reverse
 
from wpadmin.utils import (
    get_wpadmin_settings, get_admin_site, get_admin_site_name)
 
def get_avail_models(context):
    """ Returns (model, perm,) for all models user can possibly see """
    items = []
    admin_site = get_admin_site(context)
 

src/d/j/django-wpadmin-HEAD/wpadmin/menu/utils.py   django-wpadmin(Download)
from django.core.urlresolvers import reverse
 
from wpadmin.utils import (
    get_wpadmin_settings, get_admin_site, get_admin_site_name)
 
def get_avail_models(context):
    """ Returns (model, perm,) for all models user can possibly see """
    items = []
    admin_site = get_admin_site(context)