C:\Users\Administrator\Desktop\LangSrcCurise>python manage.py initial
Traceback (most recent call last):
File "manage.py", line 50, in
from initialize.initialdomains import initialdomains
File "C:\Users\Administrator\Desktop\LangSrcCurise\initialize\initialdomains.py", line 12, in
from core.main import Add_Data_To_Url,close_old_connections
File "C:\Users\Administrator\Desktop\LangSrcCurise\core\main.py", line 5, in
from core.Subdomain_Baidu import Baidu
File "C:\Users\Administrator\Desktop\LangSrcCurise\core\Subdomain_Baidu.py", line 37, in
Set = Setting.objects.all()[0]
File "C:\Program Files\Python36\lib\site-packages\django\db\models\query.py", line 303, in getitem
return qs._result_cache[0]
IndexError: list index out of range
C:\Users\Administrator\Desktop\LangSrcCurise>python manage.py initial Traceback (most recent call last): File "manage.py", line 50, in
from initialize.initialdomains import initialdomains
File "C:\Users\Administrator\Desktop\LangSrcCurise\initialize\initialdomains.py", line 12, in
from core.main import Add_Data_To_Url,close_old_connections
File "C:\Users\Administrator\Desktop\LangSrcCurise\core\main.py", line 5, in
from core.Subdomain_Baidu import Baidu
File "C:\Users\Administrator\Desktop\LangSrcCurise\core\Subdomain_Baidu.py", line 37, in
Set = Setting.objects.all()[0]
File "C:\Program Files\Python36\lib\site-packages\django\db\models\query.py", line 303, in getitem
return qs._result_cache[0]
IndexError: list index out of range