# admin\_merge\_diff

Source: https://zotonic.com/docs/1561/admin_merge_diff

URI: https://zotonic.com/id/1561

Language: en



Compare two resources and return a formatted list of their differences.

Both inputs can be resource ids or names. The result is intended for the resource merge interface, where editors select which values to retain.

For example:

```django
{% for difference in id|admin_merge_diff:other_id %}
    {{ difference }}
{% endfor %}
```

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1561?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1561?language=en>)
