I only seem to find answers around changing the actual link of VISIT PAGE. How however can I change the verbose name to e.g. HOMEPAGE?
Below code only changes the actual link:
class AdminSite:
admin.site.site_url = "/hompeage"
I'm looking to achieve this in the admin.py
file of my application.
I haven't personally tried any ways, but looking the code
You can do it in two ways,
Override the base.html template on admin.
<a href="{{ site_url }}">{% translate 'View site' %}</a>
to
<a href="{{ site_url }}">HomePage</a>
If you look the code, it uses translation for
<a href="{{ site_url }}">{% translate 'View site' %}</a>
You can simply, override the locale string too.