Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static files not loaded #182

Open
teu opened this issue Feb 16, 2016 · 4 comments
Open

Static files not loaded #182

teu opened this issue Feb 16, 2016 · 4 comments

Comments

@teu
Copy link

teu commented Feb 16, 2016

Hi,

having issue with static files - when installed the app as per doc, every js/css/image is giving me a 404. Perhaps some more info in the doc for non-django developers would be good?

@lethe3000
Copy link
Contributor

hi,could you provide one or more not-found file's url path on your host?

@agb80
Copy link

agb80 commented Mar 22, 2016

Testing fabric-bolt and get same result, path for missing files are:

http://localhost:8000/static/css/main.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://localhost:8000/static/css/yeti.min.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://localhost:8000/favicon.ico Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://localhost:8000/static/js/bootstrap.min.js Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://localhost:8000/static/css/main.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)
http://localhost:8000/static/css/yeti.min.css Failed to load resource: the server responded with a status of 404 (NOT FOUND)

@christophervalles
Copy link
Contributor

In order to serve static files from built in server you must add DEBUG = True on the settings.py file. Make sure you don't do that on production.

@agb80
Copy link

agb80 commented Apr 8, 2016

Yes, I discovered after look around for a while, but a notice on the docs would be good for the one of us that are not django guys ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants