@register.filter
def for_object(permissions, obj):
    # some permission check has failed earlier, so we don't bother trying to
    # bind a new object to it.
    if permissions == '':
        return permissions
    return permissions.bind_object(obj)
Send data over the XML stream.
dataset/ETHPy150Open pydanny/django-admin2/djadmin2/templatetags/admin2_tags.py/for_object--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py/ServiceManager.send