Question

已查看 32 次
跳至第一个未读帖子

kennedy musyoki

未读,
2019年11月26日 14:48:092019/11/26
收件人 Django users
I am new in Django and programming as well, I am to run the following code in cd but getting the error below, please advise

C:\Users\Kennedy>py Mysite.py runserver
C:\Users\Kennedy\AppData\Local\Programs\Python\Python38\python.exe: can't open file 'Mysite.py': [Errno 2] No such file or directory

Elico

未读,
2019年11月26日 15:17:022019/11/26
收件人 django...@googlegroups.com
Hi Kennedy,

What is Mysite.py?

You should run
$ python manage.py runserver

You run this from the directory where manage.py is located. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/540c87a7-3dca-48b8-86f1-bfaac650e3d2%40googlegroups.com.

Olumayowa Hephyang

未读,
2019年11月26日 16:38:312019/11/26
收件人 django...@googlegroups.com
You have not selected the right directory

--

Allaberdi Yazhanow

未读,
2019年11月27日 00:36:292019/11/27
收件人 django...@googlegroups.com
If you want to run django Server you have to write command like this ( cd “location file manage.py “ then ( python manage.py runsever 

Sent from my iPhone
--

kennedy musyoki

未读,
2019年11月30日 14:16:092019/11/30
收件人 django...@googlegroups.com
Thanks, it has worked.


Allaberdi Yazhanow

未读,
2019年11月30日 16:03:212019/11/30
收件人 django...@googlegroups.com

No problem))

 

 

Sent from Mail for Windows 10

Dvs Khamele

未读,
2019年12月12日 06:21:122019/12/12
收件人 django...@googlegroups.com
Hi Reply to Hire worlds first affordable Python, Django Based Startup.
So we may help you in this and related tasks / projects immidiately mere at $7 per hour.

--
回复全部
回复作者
转发
0 个新帖子