Closed pathroz closed 2 months ago
Hi, I'm using Django==5.1
I did as instructed, but i keep getting this warning
Command: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --user-data-dir=C:\Users\HP\AppData\Local\Temp\flaskwebguid9e810a4d98940cd8abaa9bbd8f989ee --new-window --no-first-run --window-size=500,500 --app=http://127.0.0.1:49582 WARNING:django.request:Not Found: /static/css/style.css WARNING:django.request:Not Found: /static/js/todo.js WARNING:django.request:Not Found: /static/css/style.css WARNING:django.request:Not Found: /favicon.ico
When i run with just django run server i get status code 200
is there any steps to fix this
Edit 1: i have add the js and css directlty in to html and works fine
Update
I installed Whitenoise module and added it to middle ware and that fixed it for me
Hi, I'm using Django==5.1
I did as instructed, but i keep getting this warning
When i run with just django run server i get status code 200
is there any steps to fix this
Edit 1: i have add the js and css directlty in to html and works fine