Just getting started with Django and Python, I created a test project that was working fine until I attempted to change the design by adding some CSS, JS, and image files. I also installed Bootstrap, but when I uploaded the files, my page couldn't find them. The server displayed the following message:
[30/Jan/2014 11:19:15] "GET /static/ HTTP/1.1" 404 1614 [30/Jan/2014 11:19:34] "GET /static/css/bootstrap.css HTTP/1.1" 404 1655
I tried checking the CSS file using the developer section in Firefox, which led me to a Page not found (404) error.
The URL mentioned in the error message was: localhost:8000/static/css/bootstrap.css 'css/bootstrap.css' could not be found This error is visible because DEBUG = True in your Django settings file. Change it to False for Django to show a standard 404 page.
In base.html, this is the link to the CSS files: href="/static/css/bootstrap.css"
If anyone has an idea of what might be going wrong here, I would greatly appreciate your input!
Thanks, Dilshad