@library.global_function
def karma_titles(user):
    # Titles assigned to the user or groups
    return Title.objects.filter(
        Q(users=user) | Q(groups__in=user.groups.all())).distinct()
Create a router db object with dvr additions.
dataset/ETHPy150Open mozilla/kitsune/kitsune/karma/templatetags/jinja_helpers.py/karma_titles--crossover with--dataset/ETHPy150Open openstack/neutron/neutron/db/l3_dvr_db.py/L3_NAT_with_dvr_db_mixin._create_router_db