On 5/8/20 10:36 AM, Seth Seeger wrote:
I believe this is what I’m seeing. I was able to change the displayed name by changing the original entry in Django. That name displays no matter what the URL hostname is.
This is strictly a Django thing. The HyperKitty template, hyperkitty/templates/hyperkitty/navbar-brand.html, contains this:
<a class="navbar-brand" href="{% url 'hk_root' %}">{{ site_name }}</a>
{{ site_name }} is provided by Django when the template is rendered.
In my case in my test installation, I have three sites in django.Sites:
Domain name Display name example.com example.com msapiro.net msapiro.net msg1.msapiro.net msg1
example.com is a dummy, and it is also referenced in my settings by
SITE_ID = 0
which may have something to do with my success, but if I go to HyperKitty via https://msapiro.net/, I see the site name msapiro.net, and if I go via https://msg1.msapiro.net/ I see the site name msg1.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan