I want to add a site-wide action to Django admin, called "Synchronize SQL-KB".

For that I have copied locally templates/admin/index.html file from Django and modified it as follows:
...
{% if app_list %}
<table>
<tr>
<td>
<a href="sync-sql-kb/">Synchronize SQL-KB</a>
</td>
</tr>
</table>
{% for app in app_list %}
...
So as you can see I want the link button to trigger a request to /admin/sync-sql-kb/.
How to register this URL now? Where and how to implement a handler function?
Note that this situation in my view differs from other SO questions in that the action is site-wide, rather than bound to a specific Django model.