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 trialnakalkucing
12,964 PointsHelp! I'm receiving the No Reverse Match at/ error.
Reverse for 'courses.views.course_list' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
I know there are a lot of other questions on this. But, I have read all the other questions that I can find on this and have attempted to use their solutions (Still getting the error). As they all have almost the same answer to this issue, I assume that I have another error in my code. Please help. My code ran just fine at the beginning of this video. It ceased to run after I added the second url to layout.html. Could this be an error with my database? Thanks in advance. Snapshot of my workspace
1 Answer
Pedro Cabral
33,586 PointsThe reason the code doesn't run is because the tags you commented out are still being processed by django. Replace the <!-- --> with {% comment %} and {% endcomment %} in layout.html and it will run.
nakalkucing
12,964 Pointsnakalkucing
12,964 PointsThank you, Pedro! Because I was getting an error I wanted to save the original code; and when I fixed that typo I didn't delete them and got yet another error. I never would have guessed that django was reading my commented lines. :) Oh well, as usual, I cause problems while trying to fix them! ;) Thanks again, man!