Am 26.03.25 um 16:23 schrieb Odhiambo Washington:
On Wed, Mar 26, 2025 at 6:09 PM Alexander Inzinger-Zrock via
Mailman-users <mailman-users@mailman3.org
<mailto:mailman-users@mailman3.org>> wrote:
remove website 'example.com <http://example.com>' via django interface
or
"how to rush jourself off your feet"
**Disclaimer: don't try this at home**
in believe to replace the display of 'example.com
<http://example.com>' in the
postorius-webinterface i logged into django-interface, under 'website'
(very bottom of the left menu) i added my new website and then deleted
'example.com <http://example.com>'.
Result: i can't access my webinterfaces any more, neither django nor
postorius.
Questions:
1. Does somebody know about the correct approach to change the
displayed
url in the postorius-webinterface?
The displayed URL should be the one you configured in Nginx or Apache.
example.com <http://example.com> is usually SITE_ID=1.
It's possible to rename it in Django admin UI to whatever you want -
like mywebsite.name <http://mywebsite.name>
2. does somebody perhaps know how to revert those removal via CLI or
other ways?
```
SQL: select * from django_site;
```
Whatever ID shows for the one you created, stick that ID to settings.py
and restart mailmanweb.
works again. Thank you so much.
for anyone stumbling accross,
1. setting in settings.py is:
#: Current Django Site being served. This is used to customize the web host
#: being used to serve the current website. For more details about Django
#: site, see: https://docs.djangoproject.com/en/dev/ref/contrib/sites/
SITE_ID =
2. and correct database would be 'mailmanweb' (according to manual).
greetings,
aiz
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html
<http://www.catb.org/~esr/faqs/smart-questions.html>]
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/AV47PZHRGPFO2PTX3V7MWFX26AWK65L6/
This message sent to arch...@mail-archive.com