Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/d/j/django-oscar-HEAD/oscar/apps/dashboard/menu.py   django-oscar(Download)
from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
 
from oscar.core.loading import get_class, import_string
 
    nodes = []
    default_fn = import_string(
        settings.OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION)
    for menu_dict in menu_items:
        try: