我试图使用runserver
运行django应用程序,但出现了一个错误。你知道吗
python manage.py runserver 8009
以下是输出:
Performing system checks...
System check identified no issues (0 silenced).
February 04, 2018 - 02:48:59
Django version 2.0.2, using settings 'hesab.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x03E9F348>
Traceback (most recent call last):
File "C:\Users\sarvit\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\utils\module_loading.py", line 13, in import_string
module_path, class_name = dotted_path.rsplit('.', 1)
ValueError: not enough values to unpack (expected 2, got 1)
我也尝试过runserver
在端口8000上运行,但出现了相同的错误。你知道吗
为什么我会犯这个错误?你知道吗
交叉检查你的主要网址.py文件。可能会得到解决方案。你知道吗
相关问题 更多 >
编程相关推荐