ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured

后端 未结 5 1744
别跟我提以往
别跟我提以往 2021-02-07 06:58

I\'m trying to make MongoDB and Django get on with each other the way I want them to. That\'s the error I\'m getting when trying to import viewsets from rest_framework_mongoengi

5条回答
  •  再見小時候
    2021-02-07 07:29

    Run python manage.py shell instead of running python to reach environment shell in your project. Python does not simply recognize django installed apps by default.

提交回复
热议问题