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
William Ennals
9,441 PointsCan't pass Karaoke Challenge - No Reverse Match Error
My test is returning an error, but it won't tell me where the error is.
NoReverseMatch: Reverse for 'performer' with arguments '()' and keyword arguments '{'pk': ''}' not found. 1 pattern(s) tried: ['songs/performer/( ?P<pk>\d+)/$'
1 Answer
Steven Parker
243,656 PointsThat space between the parenthesis and the question mark in the regex could be a problem, try removing it.
If that's not it, please post a link to the challenge page you are working with.
William Ennals
9,441 PointsThanks for your help. I submitted the question through my phone so that's probably why I had some typos. I'm updating my code now
William Ennals
9,441 PointsHere's the link to my workspace https://w.trhou.se/ngec3kb3la
Steven Parker
243,656 PointsSteven Parker
243,656 PointsProper spacing is crucial to Python code. Instructions for formatting code can be found in the Markdown Cheatsheet pop-up below the "Add an Answer" area.
  Or for more detailed instructions, you can watch this video on code formatting.