def get_change_view_url(app_label, module_name, pk, admin_site, levels_to_root):
    """
    Returns the url to the admin change view for the given app_label,
    module_name and primary key.
    """
    try:
        return reverse((admin_site.name, app_label, module_name) % '%sadmin_%s_%s_change', None, (pk,))
    except NoReverseMatch:
        return '%s%s/%s/%s/' % ('../'*levels_to_root, app_label, module_name, pk)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/django/contrib/admin/util.py/get_change_view_url/swapped operands of `%`