Did I find the right examples for you? yes no

All Samples(14)  |  Call(14)  |  Derive(0)  |  Import(0)

src/d/j/django-cms_wg-3.0.0.beta2/cms/admin/forms.py   django-cms_wg(Download)
        namespace = cleaned_data['application_namespace']
        if apphook:
            apphook_pool.discover_apps()
            if apphook_pool.apps[apphook].app_name and not namespace:
                self._errors['application_urls'] = ErrorList(

src/d/j/django-cms-3.0.1/cms/admin/forms.py   django-cms(Download)
        instance_namespace = cleaned_data.get('application_namespace', None)
        if apphook:
            apphook_pool.discover_apps()
            # The attribute on the apps 'app_name' is a misnomer, it should be
            # 'application_namespace'.

src/d/j/django-cms-HEAD/cms/admin/forms.py   django-cms(Download)
        instance_namespace = cleaned_data.get('application_namespace', None)
        if apphook:
            apphook_pool.discover_apps()
            # The attribute on the apps 'app_name' is a misnomer, it should be
            # 'application_namespace'.

src/d/j/django-cms_wg-3.0.0.beta2/cms/api.py   django-cms_wg(Download)
def _verify_apphook(apphook, namespace):
    """
    Verifies the apphook given is valid and returns the normalized form (name)
    """
    apphook_pool.discover_apps()
    if hasattr(apphook, '__module__') and issubclass(apphook, CMSApp):
        assert apphook in apphook_pool.apps.values()
        return apphook.__name__
    elif isinstance(apphook, string_types):
        apphook_pool.discover_apps()

src/d/j/django-cms-patched-2.3.5/cms/api.py   django-cms-patched(Download)
    """
    if hasattr(apphook, '__module__') and  issubclass(apphook, CMSApp):
        apphook_pool.discover_apps()
        assert apphook in apphook_pool.apps.values()
        return apphook.__name__
    elif isinstance(apphook, basestring):
        apphook_pool.discover_apps()

src/d/j/django-cms_wg-3.0.0.beta2/cms/admin/__init__.py   django-cms_wg(Download)
plugin_pool.plugin_pool.discover_plugins()
 
apphook_pool.discover_apps()

src/d/j/django-cms-3.0.1/cms/admin/__init__.py   django-cms(Download)
plugin_pool.plugin_pool.discover_plugins()
 
apphook_pool.discover_apps()
 

src/d/j/django-cms-patched-2.3.5/cms/admin/__init__.py   django-cms-patched(Download)
plugin_pool.plugin_pool.discover_plugins()
 
apphook_pool.discover_apps()

src/d/j/django-cms-HEAD/cms/admin/__init__.py   django-cms(Download)
plugin_pool.plugin_pool.discover_plugins()
 
apphook_pool.discover_apps()
 

src/d/j/django-cms-3.0.1/cms/api.py   django-cms(Download)
def _verify_apphook(apphook, namespace):
    """
    Verifies the apphook given is valid and returns the normalized form (name)
    """
    apphook_pool.discover_apps()

  1 | 2  Next