On Tue, 8 Aug 2017 08:47:59 +0000 Henrik Rasmussen <her@adm.ku.dk> wrote:
Hi
[...]
Abhilash Raj wrote: For now, you should just login into the admin interface at /admin/ and just create a new Site model. And then use the id of that Site in your Django's settings.py. Each domain that you add gets their own id and depending on which domain you are serving from, you can set the SITE_ID in the settings. Mailman 3 supports multiple domains at the same time.
Is the admin login the same ser as created by "docker exec -it mailman-web python manage.py createsuperuser"?
Yes.
And since I don't recall whether I actually created a superuser, will it break anything if I run createsuperuser again?
No, if the user exists the command would fail with the error "User exists". You can change the password for the admin user using the following command:
$ docker exec -it mailman-web python manage.py changepassword admin
-- thanks, Abhilash Raj