You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No module named 'LearnSpider.secret_settings'
True
Traceback (most recent call last):
File "/Users/lifcc/Desktop/code/Work/Common/Lib/LearnSpider/manage.py", line 40, in <module>
main()
~~~~^^
File "/Users/lifcc/Desktop/code/Work/Common/Lib/LearnSpider/manage.py", line 36, in main
execute_from_command_line(sys.argv)
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
File "/Users/lifcc/Library/Caches/pypoetry/virtualenvs/ls-V0Qd-Nu_-py3.13/lib/python3.13/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
~~~~~~~~~~~~~~~^^
File "/Users/lifcc/Library/Caches/pypoetry/virtualenvs/ls-V0Qd-Nu_-py3.13/lib/python3.13/site-packages/django/core/management/__init__.py", line 416, in execute
django.setup()
~~~~~~~~~~~~^^
File "/Users/lifcc/Library/Caches/pypoetry/virtualenvs/ls-V0Qd-Nu_-py3.13/lib/python3.13/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/lifcc/Library/Caches/pypoetry/virtualenvs/ls-V0Qd-Nu_-py3.13/lib/python3.13/site-packages/django/apps/registry.py", line 124, in populate
app_config.ready()
~~~~~~~~~~~~~~~~^^
File "/Users/lifcc/Desktop/code/Work/Common/Lib/LearnSpider/topics/apps.py", line 10, in ready
from LearnSpider.settings import DJANGO_ENV
ImportError: cannot import name 'DJANGO_ENV' from 'LearnSpider.settings' (/Users/lifcc/Desktop/code/Work/Common/Lib/LearnSpider/LearnSpider/settings.py)
看起来少了一个文件?
The text was updated successfully, but these errors were encountered:
使用python manage.py runserver 启动报错了。
报错内容如下:
看起来少了一个文件?
The text was updated successfully, but these errors were encountered: