@register.assignment_tag
def get_all_sites():

    return Site.objects.all()
Check if opt is in group.
dataset/ETHPy150Open opps/opps/opps/contrib/multisite/templatetags/multisite_tags.py/get_all_sites--crossover with--dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/openstack/common/config/generator.py/_is_in_group