Not able to see the name and description of my 'thing' properly


#1

It seems like I might have made some error in ch 8 and I can no longer see my questions properly. I can see the description but not the name. When I click on the description I get an error that says TemplateDoesNotExist at /questions/reverse-string/

This is my repo: https://github.com/radhigulati/interviewflows

Thanks in advance!


#2

I don’t see a URL entry in your urls.py for that URL. :) https://github.com/radhigulati/interviewflows/blob/master/interviewflows/urls.py

The code in the repo looks like from earlier chapters, maybe you haven’t pushed your latest code?

Let me know if that helps!


#3

Oops! I guess I needed to push again. Mind checking now?


#4

Awesome, I see the update.

Looks like you are missing an indentation here: https://github.com/radhigulati/interviewflows/blob/master/interviewflows/urls.py#L32

Try fixing that and let me know if the error changes!


#5

Hmmm looks like there is no change :(


#6

Push the update and I’ll check the code again! :)


#7

oops sorry about that, done!


#8

Your view says “question_detail.html” (https://github.com/radhigulati/interviewflows/blob/master/collection/views.py#L22) and your template is “questions_detail.html” (plural) :)


#9

Oh thanks! So it allows me to click on the link (description) but I can’t see anything other than my home, about, and contact links. I’ll add some screenshots


#10

I somehow fixed it by redoing ch8. Thanks!


#11

You’re welcome!