Freeze on 'Watching for file changes with StatReloader'
Bonjour,
Désolé de vous questionner à nouveau, mais j'ai un 'blocage' du programme à l'instruction 'python manage.py runserver' qui se contente de m'afficher 'Watching for file changes with StatReloader', mais ne fait plus rien. Pas d'adresse
Démarrage effectif du server de développement non précisé.
Je tourne sous Windows avec GIT BASH avec dernière version de django et pyton 3.12.2.
J'ai suivi l'ensemble du cours à la lettre sinon.
Si toutefois après le lancement de l'instruction en question, je fais un ^C, en allant dans mon navigateur à l'adresse locale 127.0.01:8000,
le serveur semble avoir démarré malgrétout, mais...
(.env)
Hylst@HYLST-LAPTOP MINGW64 /c/python/docstring/DocBlog
$ ls -a
./ ../ .env/ requirement.txt src/
(.env)
Hylst@HYLST-LAPTOP MINGW64 /c/python/docstring/DocBlog
$ cd src
(.env)
Hylst@HYLST-LAPTOP MINGW64 /c/python/docstring/DocBlog/src
$ ls
DocBlog/ manage.py*
(.env)
Hylst@HYLST-LAPTOP MINGW64 /c/python/docstring/DocBlog/src
$ python manage.py runserver
Watching for file changes with StatReloader
Le serveur tourne, mais ne l'indique pas explicitement, sauf action via le navigateur, où Il retourne bien les commandes HTTP de type GET :
(.env)
Hylst@HYLST-LAPTOP MINGW64 /c/python/docstring/DocBlog/src
$ python manage.py runserver 127.0.0.1:8000
Watching for file changes with StatReloader
[09/Jul/2024 17:12:18] "GET / HTTP/1.1" 200 10629
[09/Jul/2024 17:13:13] "GET / HTTP/1.1" 200 10629
Not Found: /favicon.ico
[09/Jul/2024 17:13:13,924] - Broken pipe from ('127.0.0.1', 51899)
Je vais continuer à expérimenter, merci Kévin !
Inscris-toi
(c'est gratuit !)
Tu dois créer un compte pour participer aux discussions.
Créer un compte