Did I find the right examples for you? yes no

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

src/d/j/django-cms_wg-3.0.0.beta2/cms/admin/forms.py   django-cms_wg(Download)
                [('', "---------")] + menu_pool.get_menus_by_attribute("cms_enabled", True))
        if 'application_urls' in self.fields:
            self.fields['application_urls'].choices = [('', "---------")] + apphook_pool.get_apphooks()
 
    def clean(self):

src/d/j/django-cms-3.0.1/cms/views.py   django-cms(Download)
            _handle_no_page(request, slug)
 
    if apphook_pool.get_apphooks():
        # There are apphooks in the pool. Let's see if there is one for the
        # current page

src/d/j/django-cms_wg-3.0.0.beta2/cms/views.py   django-cms_wg(Download)
            _handle_no_page(request, slug)
 
    if apphook_pool.get_apphooks():
        # There are apphooks in the pool. Let's see if there is one for the
        # current page

src/d/j/django-cms-patched-2.3.5/cms/views.py   django-cms-patched(Download)
        _handle_no_page(request, slug)
 
    if apphook_pool.get_apphooks():
        # There are apphooks in the pool. Let's see if there is one for the
        # current page

src/d/j/django-cms-HEAD/cms/views.py   django-cms(Download)
            _handle_no_page(request, slug)
 
    if apphook_pool.get_apphooks():
        # There are apphooks in the pool. Let's see if there is one for the
        # current page

src/d/j/django-cms-On-App-Engine-HEAD/django-cms/cms/views.py   django-cms-On-App-Engine(Download)
        _handle_no_page(request, slug)
 
    if apphook_pool.get_apphooks():
        # There are apphooks in the pool. Let's see if there is one for the
        # current page

src/d/j/django-cms-3.0.1/cms/admin/forms.py   django-cms(Download)
                app_namespaces=app_namespaces,
            )
            self.fields['application_urls'].choices = [('', "---------")] + apphook_pool.get_apphooks()
 
        if 'redirect' in self.fields:

src/d/j/django-cms-HEAD/cms/admin/forms.py   django-cms(Download)
                app_namespaces=app_namespaces,
            )
            self.fields['application_urls'].choices = [('', "---------")] + apphook_pool.get_apphooks()
 
        if 'redirect' in self.fields:

src/d/j/django-cms-patched-2.3.5/cms/admin/pageadmin.py   django-cms-patched(Download)
    if menu_pool.get_menus_by_attribute("cms_enabled", True):
        advanced_fields.append("navigation_extenders")
    if apphook_pool.get_apphooks():
        advanced_fields.append("application_urls")
 

src/d/j/django-cms-patched-2.3.5/cms/admin/forms.py   django-cms-patched(Download)
            self.fields['navigation_extenders'].widget = forms.Select({}, [('', "---------")] + menu_pool.get_menus_by_attribute("cms_enabled", True))
        if 'application_urls' in self.fields:
            self.fields['application_urls'].choices = [('', "---------")] + apphook_pool.get_apphooks()
 
    def clean(self):

  1 | 2 | 3 | 4  Next