문제

My manage.py runserver is successd.

http://localhost:8000/admin/ 

And It can enter the management interface.

But it throws an error when I run this code using another computer.

The error is : http://paas-files.qiniudn.com/iRfEWVXNz1nSiztgfTBUOXNvqig2ycUiXFV03tHo.png

Is this what is wrong, thank you

도움이 되었습니까?

해결책 2

You should use same django version. First you can see your django version on the good work computer. like this:

In [36]: import django

In [37]: django.VERSION
Out[37]: (1, 5, 5, 'final', 0)

From image we can find django version is 1.6.2 Maybe you can find where is wrong

다른 팁

You have different versions of Django on this two computers. Try using virtualenvs and add requirements to your project

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top