@register.filter
def admin_urlname(value, arg):
    return 'xadmin:%s_%s_%s' % (value.app_label, value.model_name, arg)
dataset/ETHPy150Open sshwsfc/xadmin/xadmin/templatetags/xadmin_tags.py/admin_urlname/original