On 11/2/21 11:50 AM, bob B wrote:
So I am teaching myself to fish, and see that it is actually django-admin, so that is in mailman-web? (in docker)
But i get this:
$ docker exec -it mailman-web /bin/bash bash-5.0# django-admin shell Python 3.8.10 (default, May 6 2021, 06:30:44) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. (InteractiveConsole)
from hyperkitty.models import MailingList Traceback (most recent call last): ... raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
Do what it says. I.e. run
DJANGO_SETTINGS_MODULE=path/to/settings; django-admin shell
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan