Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Diego Salas Polar
Diego Salas Polar
21,431 Points

My static files isn't loading in my css, javascript, and images. Need help.

Hi Kenneth Love. I need help loading my staticfiles in my website, and I don't know what to do. Here is the link to my website: https://my-site-diego-salas12.herokuapp.com, and here is the link to the source code: https://github.com/diegosalas00/diego_site_family_center. Please help. :D

1 Answer

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Is there anything in the Heroku logs? Did you run collectstatic on Heroku?

Diego Salas Polar
Diego Salas Polar
21,431 Points

Kenneth Love , I ran collectstatic on Heroku, but the Heroku logs are saying the following: python my_site/manage.py collectstatic --noinput.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

And does that show that any static files where collected? Django should at least give you a count of files.