Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

src/i/o/ionyweb-0.3/ionyweb/website/rendering/__init__.py   ionyweb(Download)
from ionyweb.plugin.models import PluginRelation
from ionyweb.administration.utils import is_page_placeholder_html_id
from ionyweb.administration.actions.utils import get_actions_for_object_model
 
 
    def _get_actions(self):
        if self._actions is None:
            if self.is_app:
                self._actions = get_actions_for_object_model(self._obj)
            else:
                self._actions = get_actions_for_object_model(self._obj.plugin)

src/i/o/ionyweb-HEAD/ionyweb/website/rendering/__init__.py   ionyweb(Download)
from ionyweb.plugin.models import PluginRelation
from ionyweb.administration.utils import is_page_placeholder_html_id
from ionyweb.administration.actions.utils import get_actions_for_object_model
 
 
    def _get_actions(self):
        if self._actions is None:
            if self.is_app:
                self._actions = get_actions_for_object_model(self._obj)
            else:
                self._actions = get_actions_for_object_model(self._obj.plugin)

src/i/o/ionyweb-0.3/ionyweb/administration/templatetags/actions_admin_tags.py   ionyweb(Download)
# -*- coding: utf-8 -*-
from django import template
from ionyweb.administration.actions.utils import get_actions_for_object_model
 
register = template.Library()
                # Get the object model into context
                obj = self.obj.resolve(context)
                actions_obj = get_actions_for_object_model(obj)
                if actions_obj['list']:
                    return u'<div class="wa_actions_object_widget"><p>%s : %s</p></div>' % ( actions_obj['title'], u' -'.join(actions_obj['list']))

src/i/o/ionyweb-HEAD/ionyweb/administration/templatetags/actions_admin_tags.py   ionyweb(Download)
# -*- coding: utf-8 -*-
from django import template
from ionyweb.administration.actions.utils import get_actions_for_object_model
 
register = template.Library()
                # Get the object model into context
                obj = self.obj.resolve(context)
                actions_obj = get_actions_for_object_model(obj)
                if actions_obj['list']:
                    return u'<div class="wa_actions_object_widget"><p>%s : %s</p></div>' % ( actions_obj['title'], u' -'.join(actions_obj['list']))