django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured

前端 未结 8 1307
你的背包
你的背包 2021-02-18 18:07

I\'m trying to run a populate script which I put together from the tango_with_django tutorial (https://github.com/leifos/tango_with_django/blob/master/tango_with_django_project/

相关标签:
8条回答
  • 2021-02-18 19:01

    It happened to me when I used django related import statement in a non-django module.
    i.e from index.views import view that did raise an error for me.

    0 讨论(0)
  • 2021-02-18 19:02

    If you're running PyCharm, what worked for me was to invalidate the cache and restart the app.

    File => Invalidate Caches / Restart ...

    My virtualenv had been recently updated from Python 3.6 or 3.7 to 3.8.

    0 讨论(0)
提交回复
热议问题