How to change django admin "view site" link to custom absolute url
<p>I have REST API built on Django and JS application. Both are on different domains. How to change django admin &quot;VIEW SITE&quot; link in such way so it will open JS application? I've tried to pass absolute link (<a href="https://docs.djangoproject.com/es/1.10/ref/contrib/admin/#django.contrib.admin.AdminSite.site_url" rel="nofollow noreferrer">https://docs.djangoproject.com/es/1.10/ref/contrib/admin/#django.contrib.admin.AdminSite.site_url</a>), but looks like it does not work - only relative paths allowed</p>