Question

32 vues
Accéder directement au premier message non lu

kennedy musyoki

non lue,
26 nov. 2019, 14:48:0926/11/2019
à 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

non lue,
26 nov. 2019, 15:17:0226/11/2019
à 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

non lue,
26 nov. 2019, 16:38:3126/11/2019
à django...@googlegroups.com
You have not selected the right directory

--

Allaberdi Yazhanow

non lue,
27 nov. 2019, 00:36:2927/11/2019
à 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

non lue,
30 nov. 2019, 14:16:0930/11/2019
à django...@googlegroups.com
Thanks, it has worked.


Allaberdi Yazhanow

non lue,
30 nov. 2019, 16:03:2130/11/2019
à django...@googlegroups.com

No problem))

 

 

Sent from Mail for Windows 10

Dvs Khamele

non lue,
12 déc. 2019, 06:21:1212/12/2019
à 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.

--
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message