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/templatetags/wpadmin_tags.py   django-wpadmin(Download)
from django import template
from django.utils.translation import ugettext_lazy as _
 
from wpadmin.utils import (
    get_admin_site_name, get_wpadmin_settings, are_breadcrumbs_enabled)
    def render(self, context):
        context['wpadmin_are_breadcrumbs_enabled'] = are_breadcrumbs_enabled(
            get_admin_site_name(context))
        return ''
 

src/d/j/django-wpadmin-HEAD/wpadmin/templatetags/wpadmin_tags.py   django-wpadmin(Download)
from django import template
from django.utils.translation import ugettext_lazy as _
 
from wpadmin.utils import (
    get_admin_site_name, get_wpadmin_settings, are_breadcrumbs_enabled)
    def render(self, context):
        context['wpadmin_are_breadcrumbs_enabled'] = are_breadcrumbs_enabled(
            get_admin_site_name(context))
        return ''