@register.assignment_tag
def get_containerbox_by(**filters):
    site = settings.SITE_ID
    if settings.OPPS_CONTAINERS_SITE_ID:
        site = settings.OPPS_CONTAINERS_SITE_ID
    return ContainerBox.objects.filter(site=site,
                                       published=True,
                                       date_available__lte=timezone.now(),
                                       **filters)
Return a list of containers filtered by given args
dataset/ETHPy150Open opps/opps/opps/containers/templatetags/container_tags.py/get_containerbox_by