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 Django Basics Django Templates Static Assets

nicole lumpkin
PLUS
nicole lumpkin
Courses Plus Student 5,328 Points

No error but no CSS changes visible

Here's a snapshot of my Terminal (I'm running this in my local env :) where there seems to be some chatter about static stuff!

[06/Nov/2017 15:14:06] "GET /static/admin/css/base.css HTTP/1.1" 304 0
[06/Nov/2017 15:14:06] "GET /static/admin/css/dashboard.css HTTP/1.1" 200 434
[06/Nov/2017 15:14:06] "GET /static/admin/img/default-bg.gif HTTP/1.1" 200 836
[06/Nov/2017 15:14:06] "GET /static/admin/img/icon_addlink.gif HTTP/1.1" 200 119
[06/Nov/2017 15:14:06] "GET /static/admin/img/icon_changelink.gif HTTP/1.1" 200 119
[06/Nov/2017 15:14:06] "GET /static/admin/img/nav-bg.gif HTTP/1.1" 200 265

Unfortunately my Welcome! view is still hugging the left border. Is this this info needed to answer this question?

Keith Whatling
Keith Whatling
17,759 Points

[06/Nov/2017 15:14:06] "GET /static/admin/css/base.css HTTP/1.1" 304 0 returns 304 as a code which says it has not been changed since last cashed. Maybe that is it?

if you view the source can you get to the CSS, like is it referenced in the HTML?

nicole lumpkin
nicole lumpkin
Courses Plus Student 5,328 Points

So when I viewed the source code in my browser no CSS was referenced despite the fact that I've saved all CSS additions in Spyder. This prompted me to review my script and wouldn't you know I was missing the line <link rel="stylesheet" href="{% static 'css.layout.css' %}">. Thanks so much Keith Whatling ! Onward!!