@register.filter
def blockers(user):
    try:
        return Relationship.objects.get_blockers_for_user(user)
    except AttributeError:
        return []
Converts seconds to Duration.
dataset/ETHPy150Open nathanborror/django-basic-apps/basic/relationships/templatetags/relationships.py/blockers--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/net/proto2/python/internal/well_known_types.py/Duration.FromSeconds