It's activated! It turns out that manage.py dbshell works fine, but I was using django-admin dbshell by mistake. Easy error to make, I guess.
On Wednesday, April 20, 2016 at 10:42:33 AM UTC-7, Rodrigo Gadea wrote: > > Perhaps you forgot to activate your virtualenv? > > On Wed, Apr 20, 2016 at 2:07 PM, Becka R. <[email protected] <javascript:> > > wrote: > >> >> I get the following error when I try to run the db shell: >> >> django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, >> but settings are not configured. You must either define the environment >> variable DJANGO_SETTINGS_MODULE or call settings.configure() before >> accessing settings. >> >> I've already changed my DATABASES setting in settings.py to "ENGINE": >> "django.db.backends.sqlite3", >> >> What else is missing? >> >> >> Thanks, >> >> >> Becka >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
