django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS
1、错误描述
E:\PycharmProjects\cdk\venv\Scripts\python.exe E:/PycharmProjects/cdk/venv/diango/a10.py
Traceback (most recent call last):
File "E:/PycharmProjects/cdk/venv/diango/a10.py", line 3, in <module>
class User(models.Model):
File "E:\PycharmProjects\cdk\venv\lib\site-packages\django\db\models\base.py", line 87, in __new__
app_config = apps.get_containing_app_config(module)
File "E:\PycharmProjects\cdk\venv\lib\site-packages\django\apps\registry.py", line 249, in get_containing_app_config
self.check_apps_ready()
File "E:\PycharmProjects\cdk\venv\lib\site-packages\django\apps\registry.py", line 131, in check_apps_ready
settings.INSTALLED_APPS
File "E:\PycharmProjects\cdk\venv\lib\site-packages\django\conf\__init__.py", line 57, in __getattr__
self._setup(name)
File "E:\PycharmProjects\cdk\venv\lib\site-packages\django\conf\__init__.py", line 42, in _setup
% (desc