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 Add a Detail View

Error - TemplateDoesNotExist at /courses/2


I'm following your tutorial and copy the code as we move forward. I'm using Sublime Text with Python 3.5.1 and Django 1.9.

When I arrive at 07:07, the result I get is not the same as the one in the video. I get an error that says the template doesn't exist.

Here's the error I get : http://dpaste.com/0T1M6YM

Has something changed since the video was published? Is there a step missing in the video?



2 Answers

Hi Edouard

Looking at the error django seems to be looking for a template called course_details.html. Shouldn't it be course_detail.html ??

can you post your course_detail view.


Hi Andreas,

You actually solved my problem! Thanks a lot!

Do you still want me to send you my course_detail view?


nah its fine, i figured it was a typo. Mark as best answer so others know its been dealt with.

glad i could help !