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 trialOprea Mihai
5,592 PointsTemplateDoesNotExist for CSS
Even if I made the changes and I put templates like home and layout outside corses in a root templates folder it seems that in DJ 2.0 the extends from course detail/view doesn't see the templates with simple extends 'layout.html' .
Is there another way (I tried with extends 'templates\layout.html' but still doesn't work
TemplateDoesNotExist at /courses/
layout.html
Request Method: GET
Request URL: http://localhost:8000/courses/
Django Version: 2.0.1
Exception Type: TemplateDoesNotExist
Exception Value:
layout.html
1 Answer
Henrik Christensen
Python Web Development Techdegree Student 38,322 Pointstry share your code